Skip to content

Commit 3741bfc

Browse files
committed
validate_secrets.yml: Restore ability for validate_secrets lane to validate secrets
* Remove `|| true` introduced in adaa2a1 from failure condition
1 parent 0188203 commit 3741bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate_secrets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
elif ! echo "$FASTLANE_KEY" | openssl pkcs8 -nocrypt >/dev/null; then
172172
failed=true
173173
echo "::error::The FASTLANE_KEY secret is set but invalid. Verify that you copied it correctly from the API Key file (*.p8) you downloaded and try again."
174-
elif ! (bundle exec fastlane validate_secrets 2>&1 || true) | tee fastlane.log; then # ignore "fastlane validate_secrets" errors and continue on errors without annotating an exit code
174+
elif ! bundle exec fastlane validate_secrets 2>&1 | tee fastlane.log; then
175175
if grep -q "bad decrypt" fastlane.log; then
176176
failed=true
177177
echo "::error::Unable to decrypt the Match-Secrets repository using the MATCH_PASSWORD secret. Verify that it is set correctly and try again."

0 commit comments

Comments
 (0)