Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Node CI

on: push
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Publish

permissions:
contents: read
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

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

The publish workflow likely needs contents: write permission to create releases and id-token: write or other permissions to publish packages to npm or other registries. Setting only contents: read may cause the workflow to fail during publishing operations. Consider adding job-level permissions if different steps require different access levels.

Suggested change
contents: read
contents: write
id-token: write

Copilot uses AI. Check for mistakes.

on:
release:
types: [created]
Expand Down