We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6a49e2 commit a74c936Copy full SHA for a74c936
1 file changed
.github/workflows/ci.yml
@@ -203,7 +203,11 @@ jobs:
203
echo "event=${{ github.event_name }}"
204
echo "head=${{ github.event.pull_request.head.repo.full_name }}"
205
token_json=$(curl -sS -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
206
- "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=sts.amazonaws.com")
+ "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=sts.amazonaws.com" || true)
207
+ if [ -z "$token_json" ]; then
208
+ echo "OIDC token missing"
209
+ exit 0
210
+ fi
211
python - <<'PY'
212
import base64,json,sys
213
token_json = sys.stdin.read()
0 commit comments