Skip to content

Commit ad06b53

Browse files
committed
Add least-privilege permissions to CI workflow
Fixes CodeQL alerts for missing workflow permissions
1 parent ca6751b commit ad06b53

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
lint:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)