Skip to content

Commit 3372ed3

Browse files
authored
Merge pull request #5097 from StoDevX/dependabot-fastlane-ios
fastlane: Also check `ENV['GITHUB_KEYS_REPOSITORY_TOKEN']` and emptiness also when determining whether to sign
2 parents 255453d + 7cfef5f commit 3372ed3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fastlane/lib/util.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ def should_beta?
2525

2626
# does the build have the api keys needed for signing?
2727
def api_keys_available?
28-
ENV['MATCH_PASSWORD'] && ENV['FASTLANE_PASSWORD']
28+
ENV['MATCH_PASSWORD'] && !ENV['MATCH_PASSWORD'].empty? &&
29+
ENV['FASTLANE_PASSWORD'] && !ENV['FASTLANE_PASSWORD'].empty? &&
30+
ENV['GITHUB_KEYS_REPOSITORY_TOKEN'] && !ENV['GITHUB_KEYS_REPOSITORY_TOKEN'].empty?
2931
end
3032

3133
# is this a build of a tagged commit?

0 commit comments

Comments
 (0)