fastlane-plugin-stream_actions 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb4a89076f247bd3930d732ca0fac5ba73a09794aa831f49d65fb6dc56294e6b
|
4
|
+
data.tar.gz: 8cdbbe019bb572f7440c609fd689c0fcf94d935e7e0ba49f1375e9975d7b7ca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 997b862b7d2630f48d7c75eaa811d684b52bb8d49972970bb5c5a3e03a09749efaa2d757c3908f4f862bfca59b7e63713cda580b774bcc595a820b82c01e0e8d
|
7
|
+
data.tar.gz: 2ad15b8902f66ecf12bbb00ce6787d0988b0ab1034f66c6c3965a68ac5b2e496b782e31c30597fc6c5a81d2ea2e3f985c54016a4d8d656ac574f50eb3697d082
|
@@ -6,7 +6,9 @@ module Fastlane
|
|
6
6
|
def self.run(params)
|
7
7
|
return true if ENV['GITHUB_EVENT_NAME'] != 'pull_request' && !params[:force]
|
8
8
|
|
9
|
-
|
9
|
+
UI.user_error!("GITHUB_EVENT has to be specified") unless params[:github_event]
|
10
|
+
|
11
|
+
pr_number = JSON.parse(params[:github_event])['pull_request']['number']
|
10
12
|
|
11
13
|
changed_files = sh("gh pr view #{pr_number} --json files -q '.files[].path'").split("\n")
|
12
14
|
|
@@ -45,6 +47,11 @@ module Fastlane
|
|
45
47
|
UI.user_error!("Type has to be specified") unless type
|
46
48
|
end
|
47
49
|
),
|
50
|
+
FastlaneCore::ConfigItem.new(
|
51
|
+
env_name: 'GITHUB_EVENT',
|
52
|
+
key: :github_event,
|
53
|
+
description: 'Github Actions: toJson(github.event)'
|
54
|
+
),
|
48
55
|
FastlaneCore::ConfigItem.new(
|
49
56
|
key: :force,
|
50
57
|
description: 'Should the checked be anyway',
|