Skip to content
This repository was archived by the owner on Aug 24, 2026. It is now read-only.

Commit d6d0614

Browse files
CI: add least-privilege permissions to GitHub Actions workflows
Add explicit workflow-level permissions blocks to resolve CodeQL actions/missing-workflow-permissions alerts. Scopes are derived from workflow operations (git push, artifact upload, Danger, release lanes). Refs: APPSEC-164
1 parent f02235a commit d6d0614

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/docs.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ concurrency:
1010
group: ${{ github.ref }}-${{ github.workflow }}
1111
cancel-in-progress: true
1212

13+
permissions:
14+
actions: write
15+
contents: read
16+
pull-requests: read
17+
1318
jobs:
1419
build-docs:
1520
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)