Skip to content

ci: scope down GitHub Token permissions#270

Closed
AdnaneKhan wants to merge 2 commits into
awslabs:mainfrom
AdnaneKhan:update/scopedown-token
Closed

ci: scope down GitHub Token permissions#270
AdnaneKhan wants to merge 2 commits into
awslabs:mainfrom
AdnaneKhan:update/scopedown-token

Conversation

@AdnaneKhan
Copy link
Copy Markdown

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.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Oct 21, 2025

⚠️ No Changeset found

Latest commit: e254222

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@AdnaneKhan AdnaneKhan marked this pull request as ready for review October 21, 2025 18:06
@AdnaneKhan AdnaneKhan closed this by deleting the head repository Dec 8, 2025
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