Skip to content

ci(suite): cap GITHUB_TOKEN to contents: read#92

Open
arpitjain099 wants to merge 1 commit into
pingcap:masterfrom
arpitjain099:chore/declare-workflow-perms
Open

ci(suite): cap GITHUB_TOKEN to contents: read#92
arpitjain099 wants to merge 1 commit into
pingcap:masterfrom
arpitjain099:chore/declare-workflow-perms

Conversation

@arpitjain099
Copy link
Copy Markdown

The Build & Test workflow runs make build test only. No GitHub API writes, so a workflow-level contents: read is the appropriate ceiling for the default GITHUB_TOKEN.

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

Build & test workflow runs make build/test only; no GitHub API writes. contents: read at workflow level is the appropriate cap.

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

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

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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