Skip to content

Commit 3e3899f

Browse files
authored
ci(workflows): assign explicit permissions (#8)
1 parent 5fa006f commit 3e3899f

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ concurrency:
2222
group: ${{github.workflow}}-${{github.ref}}
2323
cancel-in-progress: true
2424

25+
# No GITHUB_TOKEN permissions, as we don't use it.
26+
permissions: {}
27+
2528
jobs:
2629
test:
2730
name: Test parser

.github/workflows/fuzz.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- src/scanner.c
1111
workflow_dispatch:
1212

13+
# No GITHUB_TOKEN permissions, as we don't use it.
14+
permissions: {}
15+
1316
jobs:
1417
fuzz:
1518
env:

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- grammar.js
1111
workflow_dispatch:
1212

13+
# No GITHUB_TOKEN permissions, as we don't use it.
14+
permissions: {}
15+
1316
jobs:
1417
lint:
1518
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)