Skip to content

Commit 2e893a8

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 89f9251 commit 2e893a8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/pana.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
branches:
1212
- master
1313

14+
permissions:
15+
contents: read
16+
pull-requests: read
17+
1418
jobs:
1519
faye_dart:
1620
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)