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

Commit 89f9251

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 57208be commit 89f9251

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/build.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on: [push, pull_request]
77
concurrency:
88
group: ${{ github.head_ref }}
99
cancel-in-progress: true
10-
10+
11+
permissions:
12+
contents: read
13+
pull-requests: read
14+
1115
jobs:
1216
build:
1317
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)