Skip to content

Commit ab6f7f0

Browse files
committed
chore: set workflow permissions
1 parent a7b7261 commit ab6f7f0

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/workflows/cspell-action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
cspell:
1114
runs-on: ubuntu-latest

.github/workflows/deploy-website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
paths:
99
- 'website/**'
1010

11-
# Review gh actions docs if you want to further define triggers, paths, etc
12-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
11+
permissions:
12+
contents: read
1313

1414
jobs:
1515
build:

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches:
88
- main
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
build:
1215
name: Build Docusaurus

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
paths:
1010
- 'website/**'
1111

12-
# Review gh actions docs if you want to further define triggers, paths, etc
13-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
12+
permissions:
13+
contents: read
1414

1515
jobs:
1616
build:

0 commit comments

Comments
 (0)