Skip to content

ci(test-python): cap GITHUB_TOKEN to contents: read#1181

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

ci(test-python): cap GITHUB_TOKEN to contents: read#1181
arpitjain099 wants to merge 1 commit into
mongodb:masterfrom
arpitjain099:chore/declare-workflow-perms

Conversation

@arpitjain099
Copy link
Copy Markdown

The test-python workflow runs the Python test suite. 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.

test-python workflow runs Python tests; no GitHub API writes.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099 arpitjain099 requested a review from a team as a code owner May 25, 2026 22:54
@arpitjain099 arpitjain099 requested a review from aclark4life May 25, 2026 22:54
@arpitjain099
Copy link
Copy Markdown
Author

Closing as duplicate of #1171 (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