Skip to content

Commit 06956af

Browse files
committed
Add permissions section to workflows for content access
1 parent 4eb0011 commit 06956af

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- "**"
1010
env:
1111
NODE_OPTIONS: --max_old_space_size=10240
12+
permissions:
13+
contents: read
1214
jobs:
1315
check:
1416
runs-on: ubuntu-24.04-arm

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- "**"
1111
env:
1212
NODE_OPTIONS: --max_old_space_size=102400
13+
permissions:
14+
contents: read
1315
jobs:
1416
test:
1517
runs-on: ubuntu-24.04-arm

0 commit comments

Comments
 (0)