Skip to content

Update the Publish action for trusted publishing#1119

Merged
alexslavr merged 5 commits intomasterfrom
lavrov/trusted-publishing
May 8, 2026
Merged

Update the Publish action for trusted publishing#1119
alexslavr merged 5 commits intomasterfrom
lavrov/trusted-publishing

Conversation

@alexslavr
Copy link
Copy Markdown
Contributor

No description provided.

@alexslavr alexslavr requested review from a team and Copilot May 7, 2026 12:13
@alexslavr alexslavr self-assigned this May 7, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions publish workflow toward npm “trusted publishing” by switching to OIDC-based permissions and removing token-based auth/version-tagging steps.

Changes:

  • Renamed the workflow/job to “Build and publish NPM packages” and set an npmjs environment.
  • Added workflow-level permissions for OIDC (id-token: write) and reduced repo permissions (contents: read).
  • Replaced version-bump + git tag/push + token-based npm auth with a single pnpm publish --provenance --dry-run step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/publish.yml Outdated
Comment thread .github/workflows/publish.yml
Comment thread .github/workflows/publish.yml Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/publish.yml Outdated
alexslavr and others added 4 commits May 7, 2026 17:42
@alexslavr alexslavr force-pushed the lavrov/trusted-publishing branch from 1a089d4 to 6748cee Compare May 7, 2026 13:42
Comment thread .github/workflows/publish.yml Outdated
Comment thread .github/workflows/publish.yml
Copilot finished work on behalf of IlyaKhD May 7, 2026 15:32
Copilot AI requested a review from IlyaKhD May 7, 2026 15:32
@alexslavr alexslavr merged commit 5f8b3e2 into master May 8, 2026
43 checks passed
@alexslavr alexslavr deleted the lavrov/trusted-publishing branch May 8, 2026 09:20
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.

4 participants