Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/generic-ios-testflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,11 @@ jobs:
exit ${ALTOOL_EXIT}
fi

if grep -qiE "NOT_AUTHORIZED|failed to authenticate|Authentication credentials are missing or invalid|received status code 401|Unable to authenticate|auth issue" "${OUTPUT_FILE}"; then
echo "ERROR: App Store authentication error detected in altool output. Failing workflow by policy."
exit 1
fi

if grep -qiE "Validation failed|STATE_ERROR\.VALIDATION_ERROR|Invalid Version|CFBundleShortVersionString" "${OUTPUT_FILE}"; then
echo "ERROR: App Store validation error detected in altool output. Failing workflow by policy."
exit 1
Expand Down Expand Up @@ -1056,6 +1061,11 @@ jobs:
exit ${ALTOOL_EXIT}
fi

if grep -qiE "NOT_AUTHORIZED|failed to authenticate|Authentication credentials are missing or invalid|received status code 401|Unable to authenticate|auth issue" "${OUTPUT_FILE}"; then
echo "ERROR: App Store authentication error detected in altool output. Failing workflow by policy."
exit 1
fi

if grep -qiE "Validation failed|STATE_ERROR\.VALIDATION_ERROR|Invalid Version|CFBundleShortVersionString" "${OUTPUT_FILE}"; then
echo "ERROR: App Store validation error detected in altool output. Failing workflow by policy."
exit 1
Expand Down