Skip to content

Update the release process for trusted publishing - #160

Merged
haltakov merged 1 commit into
mainfrom
fix/release-process-with-trusted-publishing
Jun 14, 2026
Merged

Update the release process for trusted publishing#160
haltakov merged 1 commit into
mainfrom
fix/release-process-with-trusted-publishing

Conversation

@haltakov

Copy link
Copy Markdown
Contributor

No description provided.

@haltakov
haltakov merged commit 2189586 into main Jun 14, 2026
1 check passed
@haltakov
haltakov deleted the fix/release-process-with-trusted-publishing branch June 14, 2026 00:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 920a0656c3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 44 to 45
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Isolate OIDC publishing from the install step

With NPM_TOKEN removed here, publishing now relies on the job-wide id-token: write permission for npm trusted publishing. In this workflow, yarn install --immutable runs before changesets/action, so on a merged release PR where the package.json versions are not published yet, any dependency lifecycle script executed during install can request the same OIDC token and run npm publish from this trusted workflow before the intended release step. Please split publishing into a separate job/phase that gets id-token: write only after dependencies/build artifacts are prepared, or otherwise prevent install-time scripts from having publish-capable OIDC access.

Useful? React with 👍 / 👎.

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