Skip to content

ci: add environment to publish job for OIDC trusted publishing#80

Merged
enaboapps merged 1 commit intodevfrom
fix/publish-oidc-environment
Mar 10, 2026
Merged

ci: add environment to publish job for OIDC trusted publishing#80
enaboapps merged 1 commit intodevfrom
fix/publish-oidc-environment

Conversation

@enaboapps
Copy link
Copy Markdown
Owner

@enaboapps enaboapps commented Mar 10, 2026

Adds \ to the publish job — npm's trusted publishing requires the OIDC token to be scoped to a named environment that matches the configuration on npmjs.com.

Summary by CodeRabbit

  • Chores
    • Updated GitHub Actions workflow configuration to enhance the publish process.

@enaboapps enaboapps merged commit b8b0cca into dev Mar 10, 2026
@enaboapps enaboapps deleted the fix/publish-oidc-environment branch March 10, 2026 16:55
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 10, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e1e16739-5790-4a72-824c-40ad1bf801ae

📥 Commits

Reviewing files that changed from the base of the PR and between 000f4f4 and dc57bf9.

📒 Files selected for processing (1)
  • .github/workflows/publish.yml

📝 Walkthrough

Walkthrough

Added the npm environment specification to the publish job in the GitHub Actions workflow, enabling access to npm-related secrets and configurations during the publishing process.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/publish.yml
Added environment: npm to the publish job to specify the npm environment context for the workflow execution.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A tiny line, so clean and neat,
Adds npm to make workflows sweet,
Environment set, configuration true,
Publishing flows with something new! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/publish-oidc-environment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

2 participants