Skip to content

ci(test): cap GITHUB_TOKEN to contents: read#907

Open
arpitjain099 wants to merge 1 commit into
OWASP:mainfrom
arpitjain099:chore/declare-workflow-perms
Open

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

Conversation

@arpitjain099
Copy link
Copy Markdown

The test workflow runs unit tests; no GitHub API writes. Workflow-level contents: read is the right cap.

Same post-CVE-2025-30066 (tj-actions/changed-files) hardening shape. YAML validated locally.

test workflow runs unit tests; no GitHub API writes. contents: read at workflow level is the right cap.

Post-CVE-2025-30066 hardening shape. yaml.safe_load validated.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
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