Skip to content

ci: set read-only workflow token permissions - #901

Open
Alb3e3 wants to merge 1 commit into
auth0:masterfrom
Alb3e3:alb3e3/ci-readonly-token-permissions
Open

ci: set read-only workflow token permissions#901
Alb3e3 wants to merge 1 commit into
auth0:masterfrom
Alb3e3:alb3e3/ci-readonly-token-permissions

Conversation

@Alb3e3

@Alb3e3 Alb3e3 commented Jul 14, 2026

Copy link
Copy Markdown

Summary

  • set explicit read-only GITHUB_TOKEN permissions for CI workflows that only need repository checkout/read access
  • leave release/deploy/write-capable workflows unchanged

Why

This follows GitHub Actions least-privilege guidance and reduces the default token scope available to routine CI jobs without changing the test/build commands.

Verification

  • Parsed the changed workflow YAML with PyYAML.
  • Ran git diff --check.

@Alb3e3
Alb3e3 requested a review from a team as a code owner July 14, 2026 22:28
@Alb3e3
Alb3e3 force-pushed the alb3e3/ci-readonly-token-permissions branch from 8f2f80a to c10f510 Compare August 24, 2026 19:55
@Alb3e3

Alb3e3 commented Aug 24, 2026

Copy link
Copy Markdown
Author

Refreshed this one proactively: rebased onto current master (it was 15 commits behind) and signed the commit, since signed commits turned out to be the merge requirement on auth0/auth0.net#1054.

sha=c10f5101  verified=true  reason=valid

Change is unchanged — permissions: blocks on build-and-test.yml and sca_scan.yml, 6 added lines, no build or runtime changes.

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