Skip to content

Update publish.yml#66

Open
gracepark wants to merge 1 commit intomainfrom
gracepark-patch-1
Open

Update publish.yml#66
gracepark wants to merge 1 commit intomainfrom
gracepark-patch-1

Conversation

@gracepark
Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings May 8, 2026 20:27
@gracepark gracepark requested a review from a team as a code owner May 8, 2026 20:27
Copy link
Copy Markdown

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 npm publish GitHub Actions workflow to support an OIDC-based publishing flow as part of the referenced OIDC migration effort.

Changes:

  • Adds id-token: write permission for OIDC token minting.
  • Updates actions/checkout and actions/setup-node to @v4 and bumps the configured Node.js version.
  • Switches npm publishing to npm publish --provenance and removes use of the npm_token secret.
Show a summary per file
File Description
.github/workflows/publish.yml Migrates release publishing workflow toward OIDC/provenance-based npm publishing and updates action/node versions.

Copilot's findings

Tip

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

Comments suppressed due to low confidence (1)

.github/workflows/publish.yml:25

  • This package is scoped (@github/task-lists-element), and package.json does not define publishConfig.access. For scoped packages, npm publish can default to restricted/private and/or fail unless --access public (or publishConfig.access: public) is set. Consider making the access explicit to avoid a release-time publish failure or accidentally publishing as restricted.
      - run: npm --ignore-scripts publish --provenance
  • Files reviewed: 1/1 changed files
  • Comments generated: 2

- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 24
- run: npm whoami; npm --ignore-scripts publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm --ignore-scripts publish --provenance
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