Skip to content

Commit 0c321a6

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 0769665 commit 0c321a6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/android.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
permissions:
10+
actions: write
11+
contents: read
12+
pull-requests: read
13+
914
jobs:
1015
build:
1116
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)