Skip to content

Conversation

@skyeyeye
Copy link
Contributor

@skyeyeye skyeyeye commented Feb 3, 2026

📦 Publish codemods using GitHub Actions Trusted Publisher (OIDC)

This PR migrates codemod publishing to GitHub Actions trusted publishing using OIDC, removing the need for long-lived API keys.

✨ What changed

Enabled GitHub Actions OIDC permissions (id-token: write)

Removed API-key based authentication (codemod login --api-key)

Publishing now relies on the workflow’s verified identity

Existing publish and test steps remain unchanged

🔒 Why this is better

Eliminates stored secrets in GitHub

Improves supply-chain and release security

Aligns with Codemod’s recommended publishing approach

📖 Reference

Trusted publishers documentation:
https://docs.codemod.com/publishing#trusted-publishers

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