Skip to content

chore: configure npm trusted publishing - #16

Merged
3w36zj6 merged 2 commits into
mainfrom
feature/configure-npm-trusted-publishing
Mar 17, 2026
Merged

3w36zj6 merged 2 commits into
mainfrom
feature/configure-npm-trusted-publishing

Conversation

@3w36zj6

@3w36zj6 3w36zj6 commented Mar 17, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI 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.

Pull request overview

This PR updates the GitHub Actions CI/publish pipelines to support npm “trusted publishing” (OIDC-based auth) and tightens workflow security/maintenance by pinning action revisions and adding workflow linting.

Changes:

  • Configure the npm publish workflow to use OIDC (id-token: write) and publish with provenance (npm publish --provenance) instead of an npm token secret.
  • Expand .tool-versions to pin additional CI tooling (actionlint/ghalint/zizmor/pinact) and align formatting.
  • Modernize CI workflows: pin action SHAs, move to ubuntu-24.04, add timeouts, add a GitHub Actions linting job, and set explicit permissions.

Reviewed changes

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

File Description
.tool-versions Adds pinned versions for GitHub Actions lint/security tools used in CI.
.github/workflows/publish.yaml Switches npm publishing to OIDC + provenance and pins action SHAs.
.github/workflows/ci.yaml Pins action SHAs, updates runners/timeouts/permissions, and adds workflow linting jobs.

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

Comment thread .github/workflows/publish.yaml Resolved
@3w36zj6
3w36zj6 merged commit 88ea3bf into main Mar 17, 2026
11 checks passed
@3w36zj6
3w36zj6 deleted the feature/configure-npm-trusted-publishing branch March 17, 2026 02:33
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