File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 # publishing (OIDC) only activates when NO auth token is configured, so
4646 # configuring a token would make `npm publish` skip OIDC entirely.
4747 # The default registry is already https://registry.npmjs.org/.
48+ - name : Debug OIDC availability
49+ # GitHub only injects ACTIONS_ID_TOKEN_REQUEST_URL when `id-token: write`
50+ # is actually granted. Prints presence only (never the value/token).
51+ run : |
52+ if [ -n "$ACTIONS_ID_TOKEN_REQUEST_URL" ]; then
53+ echo "OIDC id-token IS available -> id-token: write is granted, OIDC can run."
54+ else
55+ echo "OIDC id-token is NOT available (ACTIONS_ID_TOKEN_REQUEST_URL is empty)."
56+ echo "=> GitHub is not granting id-token: write for this run."
57+ fi
4858 - name : Determine new template version
4959 run : echo "VERSION=$(./scripts/bumpedTemplateVersion.sh ${{ inputs.version }})" >> $GITHUB_ENV
5060 - name : Update versions to input one
You can’t perform that action at this time.
0 commit comments