Skip to content

Use minimally scoped GITHUB_TOKEN Permissions#1990

Merged
the-mann merged 9 commits intomainfrom
fix-aws-oidc-permissions
Jan 21, 2026
Merged

Use minimally scoped GITHUB_TOKEN Permissions#1990
the-mann merged 9 commits intomainfrom
fix-aws-oidc-permissions

Conversation

@the-mann
Copy link
Contributor

Description of the issue

Some of the jobs used the default permissive GitHub Token setting, this PR scopes them down.

Description of changes

  • Set actions: write permission for jobs just using workflow_dispatch.
  • Set contents: write and pull-requests: write for job pushing to feature branch and creating PR.
  • Set id-token: write and contents: read for jobs using AWS OIDC authentication.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Aligned permissions with GitHub docs for the associated actions.

Requirements

N/A, GHA CI only change.


Integration Tests

To run integration tests against this PR, add the ready for testing label.

@the-mann the-mann requested a review from a team as a code owner January 21, 2026 18:43
@the-mann the-mann added the ready for testing Indicates this PR is ready for integration tests to run label Jan 21, 2026
@the-mann the-mann merged commit c6341af into main Jan 21, 2026
306 of 313 checks passed
@the-mann the-mann deleted the fix-aws-oidc-permissions branch January 21, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for testing Indicates this PR is ready for integration tests to run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants