Skip to content

ci(validate): cap GITHUB_TOKEN to contents: read#4848

Closed
arpitjain099 wants to merge 1 commit into
cncf:masterfrom
arpitjain099:chore/declare-workflow-perms
Closed

ci(validate): cap GITHUB_TOKEN to contents: read#4848
arpitjain099 wants to merge 1 commit into
cncf:masterfrom
arpitjain099:chore/declare-workflow-perms

Conversation

@arpitjain099

Copy link
Copy Markdown

The validate workflow runs landscape validation only. No GitHub API writes, so workflow-level contents: read is the right cap.

Post-CVE-2025-30066 (tj-actions/changed-files) hardening pattern. YAML validated locally.

validate workflow runs landscape validation only; no GitHub API writes.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099

Copy link
Copy Markdown
Author

This duplicates #4832 from earlier in the batch. Closing in favor of that one, sorry for the dup.

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