Skip to content

Conversation

@AdnaneKhan
Copy link

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.

@github-actions
Copy link

No related issues found. Please ensure there is an open issue related to this change to avoid significant delays or closure.

@github-actions
Copy link

No acknowledgement section found. Please make sure you used the template to open a PR and didn't remove the acknowledgment section. Check the template here: https://github.com/aws-samples/aws-serverless-developer-experience-workshop-typescript/blob/develop/.github/PULL_REQUEST_TEMPLATE.md#acknowledgment

@github-actions github-actions bot added do-not-merge PRs that are blocked for varying reasons need-issue PR is missing a related issue for tracking change need-license-agreement-acknowledge PRs that are missing acknowledgement section labels Dec 11, 2025
@AdnaneKhan AdnaneKhan marked this pull request as ready for review December 11, 2025 23:22
@AdnaneKhan AdnaneKhan requested a review from a team as a code owner December 11, 2025 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge PRs that are blocked for varying reasons need-issue PR is missing a related issue for tracking change need-license-agreement-acknowledge PRs that are missing acknowledgement section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant