Skip to content

ci: declare contents: read on gitsecrets workflow#221

Merged
azmkercso merged 1 commit into
aws:mainfrom
arpitjain099:ci/add-permissions
May 28, 2026
Merged

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

Conversation

@arpitjain099
Copy link
Copy Markdown
Contributor

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
@arpitjain099
Copy link
Copy Markdown
Contributor Author

@aakashmandavilli96 - approved + green; mergeable whenever you have a moment, thanks!

@azmkercso azmkercso merged commit cd2b5c6 into aws:main May 28, 2026
1 check 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.

3 participants