Skip to content

ci: cap GITHUB_TOKEN to contents: read#26

Merged
jenniferplusplus merged 1 commit into
influxdata:mainfrom
arpitjain099:chore/declare-workflow-perms
Jun 10, 2026
Merged

ci: cap GITHUB_TOKEN to contents: read#26
jenniferplusplus merged 1 commit into
influxdata:mainfrom
arpitjain099:chore/declare-workflow-perms

Conversation

@arpitjain099

Copy link
Copy Markdown
Contributor

The ci workflow runs validation only. No GitHub API writes, so a workflow-level contents: read is the appropriate cap for the default GITHUB_TOKEN.

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

The ci workflow runs validation; no GitHub API writes from the workflow. contents: read at workflow level is sufficient.

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

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099 arpitjain099 requested a review from a team as a code owner May 21, 2026 02:01
@jenniferplusplus jenniferplusplus enabled auto-merge (squash) June 10, 2026 16:38
@jenniferplusplus jenniferplusplus merged commit 1ff903c into influxdata:main Jun 10, 2026
2 checks passed
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.

2 participants