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/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ jobs:
# publishing (OIDC) only activates when NO auth token is configured, so
# configuring a token would make `npm publish` skip OIDC entirely.
# The default registry is already https://registry.npmjs.org/.
- name: Debug OIDC availability
# GitHub only injects ACTIONS_ID_TOKEN_REQUEST_URL when `id-token: write`
# is actually granted. Prints presence only (never the value/token).
run: |
if [ -n "$ACTIONS_ID_TOKEN_REQUEST_URL" ]; then
echo "OIDC id-token IS available -> id-token: write is granted, OIDC can run."
else
echo "OIDC id-token is NOT available (ACTIONS_ID_TOKEN_REQUEST_URL is empty)."
echo "=> GitHub is not granting id-token: write for this run."
fi
- name: Determine new template version
run: echo "VERSION=$(./scripts/bumpedTemplateVersion.sh ${{ inputs.version }})" >> $GITHUB_ENV
- name: Update versions to input one
Expand Down
Loading