Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

ci: scope down GitHub Token permissions#39

Merged
tmokmss merged 2 commits intoaws-samples:mainfrom
AdnaneKhan:update/scopedown-token
Oct 25, 2025
Merged

ci: scope down GitHub Token permissions#39
tmokmss merged 2 commits intoaws-samples:mainfrom
AdnaneKhan:update/scopedown-token

Conversation

@AdnaneKhan
Copy link
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 19:37
@tmokmss tmokmss merged commit 48ebef2 into aws-samples:main Oct 25, 2025
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants