Skip to content

Commit e43800b

Browse files
Merge pull request #9345 from mr-raj12/ci-add-top-level-permissions
ci: add top-level permissions for least-privilege security, fixes #9344
2 parents e7ad8ef + 3349cdc commit e43800b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ concurrency:
2525
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
2626
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
2727

28+
permissions:
29+
contents: read
30+
2831
jobs:
2932
lint:
3033

0 commit comments

Comments
 (0)