Skip to content

Commit a5c1cc5

Browse files
Limit CI workflow token permissions
Grant the CI workflow read-only repository contents access to resolve the CodeQL missing-workflow-permissions alert. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 413371a commit a5c1cc5

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
test:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)