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

Commit 0685844

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 76776f0 commit 0685844

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/size-limit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ concurrency:
1313
group: ${{ github.ref }}-${{ github.workflow }}
1414
cancel-in-progress: true
1515

16+
permissions:
17+
contents: read
18+
pull-requests: read
19+
1620
jobs:
1721
size:
1822
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)