Skip to content

Commit 3349cdc

Browse files
committed
ci: add top-level permissions for least-privilege security, fixes #9344
1 parent e7ad8ef commit 3349cdc

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)