Skip to content

ci(build-test): cap GITHUB_TOKEN to contents: read#2521

Closed
arpitjain099 wants to merge 1 commit into
nodejs:mainfrom
arpitjain099:chore/declare-workflow-perms
Closed

ci(build-test): cap GITHUB_TOKEN to contents: read#2521
arpitjain099 wants to merge 1 commit into
nodejs:mainfrom
arpitjain099:chore/declare-workflow-perms

Conversation

@arpitjain099
Copy link
Copy Markdown

Pins the default GITHUB_TOKEN to contents: read at workflow level. No GitHub API writes from the workflow.

Post-CVE-2025-30066 hardening pattern. YAML validated locally.

Workflow runs checks only; no GitHub API writes. Post-CVE-2025-30066 hardening pattern.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099
Copy link
Copy Markdown
Author

Closing as duplicate of #2502 (earlier PR with overlapping scope), apologies for the noise.

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