Skip to content

Commit 74fce52

Browse files
committed
update workflow permissions
1 parent f3c6027 commit 74fce52

File tree

6 files changed

+202
-178
lines changed

6 files changed

+202
-178
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ defaults:
99
run:
1010
shell: bash
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
analyze:
1417
name: Analyze

.github/workflows/deploy-preset-env.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ defaults:
1212
run:
1313
shell: bash
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
build:
1720
name: Request Netlify Webhook

.github/workflows/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ defaults:
66
run:
77
shell: bash
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
triage:
14+
permissions:
15+
contents: read
16+
pull-requests: write
1117
runs-on: ubuntu-latest
1218
steps:
1319
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ defaults:
1010
run:
1111
shell: bash
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
lint:
1518
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ defaults:
1010
run:
1111
shell: bash
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
test:
1518
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)