Skip to content

Commit d812186

Browse files
committed
ci: build job permissions
1 parent 977c10e commit d812186

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616

1717
jobs:
1818
build:
19+
permissions:
20+
contents: read
1921
strategy:
2022
matrix:
2123
node-version: [24]

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1818
jobs:
1919
build:
20+
permissions:
21+
contents: read
2022
strategy:
2123
matrix:
2224
node-version: [24]

.github/workflows/windows.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ on:
1515
workflow_dispatch:
1616

1717
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
18-
permissions:
19-
contents: read
20-
2118
jobs:
2219
build:
20+
permissions:
21+
contents: read
2322
strategy:
2423
matrix:
2524
node-version: [24]

0 commit comments

Comments
 (0)