Skip to content

ci: declare contents: read on gitsecrets workflow#221

Open
arpitjain099 wants to merge 1 commit into
aws:mainfrom
arpitjain099:ci/add-permissions
Open

ci: declare contents: read on gitsecrets workflow#221
arpitjain099 wants to merge 1 commit into
aws:mainfrom
arpitjain099:ci/add-permissions

Conversation

@arpitjain099
Copy link
Copy Markdown

gitsecrets.yml runs awslabs/git-secrets to scan PR commits for accidentally-committed AWS credentials. It checkouts the PR, runs the scanner, and exits — no writes. contents: read is the right floor for the checkout step.

Single-job workflow that runs awslabs/git-secrets across the PR. Read-only scan.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099 arpitjain099 requested a review from a team as a code owner May 13, 2026 08:45
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