Skip to content

chore: update oddish-action to OIDC, bump actions to v6 (node24)#394

Open
decentraland-bot wants to merge 5 commits into
mainfrom
chore/update-oddish-action-oidc
Open

chore: update oddish-action to OIDC, bump actions to v6 (node24)#394
decentraland-bot wants to merge 5 commits into
mainfrom
chore/update-oddish-action-oidc

Conversation

@decentraland-bot

@decentraland-bot decentraland-bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update oddish-action pin from 914e7c5 (pre-OIDC) to 0074f2d (OIDC/Trusted Publishing support)
  • Remove NODE_AUTH_TOKEN env — the new action auto-detects OIDC via ACTIONS_ID_TOKEN_REQUEST_URL and uses Trusted Publishing automatically
  • Bump actions/checkout and actions/setup-node to v6 (node24 runtime, replacing node20 being phased out)
  • Fix package.json repository field for npm provenance verification (where applicable)

Context

npm invalidated granular tokens that bypass 2FA. The old oddish-action version always writes _authToken to .npmrc using the now-invalid token, causing E404/ENEEDAUTH errors. The new version detects OIDC availability and uses Trusted Publishing instead.

Validated on decentraland/protocol — PRs #416 and #417 merged, publish job succeeded.

Test plan

  • Verify CI passes
  • Confirm npm publish succeeds on next push/release (requires Trusted Publishing configured on npmjs.com for the package)

🤖 Generated with Claude Code

decentraland-bot and others added 4 commits June 8, 2026 20:29
Update oddish-action to the version supporting npm Trusted Publishing
(OIDC auth) and remove NODE_AUTH_TOKEN. The old action version writes
_authToken to .npmrc which prevents npm from using OIDC-based Trusted
Publishing, causing E404 errors after npm invalidated granular tokens
that bypass 2FA.

Reference: decentraland/oddish-action#10

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GitHub Actions runner ships npm 10.9.8 which does not support
tokenless Trusted Publishing. npm 11 is required for OIDC auth.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Bump actions/checkout and actions/setup-node to v6 (node24 runtime,
  replacing the node20 runtime being phased out)
- Fix package.json repository field for npm provenance verification
  where applicable

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@decentraland-bot decentraland-bot changed the title chore: update oddish-action for npm Trusted Publishing chore: update oddish-action to OIDC, bump actions to v6 (node24) Jun 8, 2026
Empty env: mappings are invalid GitHub Actions YAML, causing
"Unexpected value ''" workflow validation errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant