Skip to content

[chore] Restrict test workflow token permissions#11223

Merged
slax57 merged 1 commit intomasterfrom
fix-test-workflow-permissions
Mar 31, 2026
Merged

[chore] Restrict test workflow token permissions#11223
slax57 merged 1 commit intomasterfrom
fix-test-workflow-permissions

Conversation

@WiXSL
Copy link
Copy Markdown
Collaborator

@WiXSL WiXSL commented Mar 31, 2026

Summary

  • add an explicit top-level permissions block to the test workflow
  • restrict GITHUB_TOKEN to contents: read

Why

GitHub code scanning reports repeated Workflow does not contain permissions alerts on .github/workflows/test.yml:

Adding the minimal required permissions removes the default broad token scope for all jobs in this workflow.

Testing

  • workflow change only

@slax57 slax57 added this to the 5.14.6 milestone Mar 31, 2026
@slax57 slax57 merged commit e8417d9 into master Mar 31, 2026
15 checks passed
@slax57 slax57 deleted the fix-test-workflow-permissions branch March 31, 2026 14:24
@slax57 slax57 changed the title Limit test workflow token permissions [chore] Restrict test workflow token permissions Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants