Skip to content

Comments

ci: scope down GitHub Token permissions#176

Merged
sliedig merged 4 commits intoaws-samples:developfrom
AdnaneKhan:update/scopedown-token
Feb 19, 2026
Merged

ci: scope down GitHub Token permissions#176
sliedig merged 4 commits intoaws-samples:developfrom
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.

@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/awslabs/aws-lambda-powertools-python/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
@sliedig sliedig merged commit 959024b into aws-samples:develop Feb 19, 2026
5 checks passed
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.

2 participants