Skip to content

ci: scope down GitHub Token permissions#5570

Merged
maddeleine merged 15 commits intoaws:mainfrom
AdnaneKhan:update/scopedown-token
Oct 28, 2025
Merged

ci: scope down GitHub Token permissions#5570
maddeleine merged 15 commits intoaws:mainfrom
AdnaneKhan:update/scopedown-token

Conversation

@AdnaneKhan
Copy link
Copy Markdown
Contributor

Scope Down GitHub Token Permissions

This PR updates GitHub Actions workflows to use minimal required permissions instead of the default elevated permissions.

Why This Matters

Following the principle of least privilege, workflows should only have the specific permissions they need to function.

Changes

This PR adds explicit permissions: blocks to workflows that currently rely on default permissions, scoping them down to only what's required for their operations.

Please review the changes to ensure the specified permissions match your workflow requirements.

@AdnaneKhan AdnaneKhan marked this pull request as ready for review October 21, 2025 20:50
@lrstewart lrstewart requested review from dougch and lrstewart October 23, 2025 19:19
@dougch
Copy link
Copy Markdown
Contributor

dougch commented Oct 24, 2025

related aws/aws-lc#2762

@maddeleine maddeleine added this pull request to the merge queue Oct 28, 2025
@maddeleine
Copy link
Copy Markdown
Contributor

Thank you!

Merged via the queue into aws:main with commit 6aefe74 Oct 28, 2025
50 checks passed
dougch pushed a commit to dougch/s2n-tls that referenced this pull request Oct 29, 2025
Co-authored-by: Lindsay Stewart <slindsay@amazon.com>
Co-authored-by: Doug Chapman <54039637+dougch@users.noreply.github.com>
Co-authored-by: maddeleine <59030281+maddeleine@users.noreply.github.com>

ci: Config file for GH automatic release notes.
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.

4 participants