aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

ci: scope down GitHub Token permissions

Open AdnaneKhan opened this issue 2 months ago • 1 comments

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 avatar Oct 21 '25 21:10 AdnaneKhan

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 93.33%. Comparing base (68039fa) to head (4037c4a). :warning: Report is 397 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9804      +/-   ##
===========================================
- Coverage    93.40%   93.33%   -0.07%     
===========================================
  Files          211      209       -2     
  Lines        17012    16807     -205     
===========================================
- Hits         15890    15687     -203     
+ Misses        1122     1120       -2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Oct 21 '25 21:10 codecov-commenter