Skip to content

Commit 5f1646d

Browse files
authored
Merge pull request #8 from arpitjain099/chore/restrict-workflow-token-perms
ci: scope cpp-linter token to read-only
2 parents 7c40f72 + b4a6362 commit 5f1646d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/cpp-linter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
paths:
88
- "npsr/*"
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
cpp-linter:
1215
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)