@codfish/actions-playground 0.0.0-PR-98--c28fd93 → 0.0.0-PR-98--01d700e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,16 +83,9 @@ jobs:
83
83
  run: |
84
84
  set -euo pipefail
85
85
 
86
- # Verify OIDC token is available
87
- if [ -z "${ACTIONS_ID_TOKEN_REQUEST_URL:-}" ] || [ -z "${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-}" ]; then
88
- echo "OIDC token is not available for this run. Trusted publishing cannot proceed."
89
- echo "This usually happens on forked PRs or when id-token permissions are missing."
90
- exit 1
91
- fi
92
-
93
- echo "OIDC environment detected:"
94
- echo "ACTIONS_ID_TOKEN_REQUEST_URL is set: ${ACTIONS_ID_TOKEN_REQUEST_URL:+yes}"
95
- echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN is set: ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:+yes}"
86
+ # Unset any npm token environment variables to ensure OIDC is used
87
+ unset NPM_TOKEN || true
88
+ unset NODE_AUTH_TOKEN || true
96
89
 
97
90
  short_sha="$(echo "$PR_SHA" | cut -c -7)"
98
91
  version="0.0.0-PR-${PR_NUMBER}--${short_sha}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codfish/actions-playground",
3
- "version": "0.0.0-PR-98--c28fd93",
3
+ "version": "0.0.0-PR-98--01d700e",
4
4
  "description": "My own testing ground for messing around with GitHub Actions.",
5
5
  "private": false,
6
6
  "publishConfig": {