Skip to content

Commit 94356ac

Browse files
committed
fix: try adding permissions to query repo data
1 parent 4116001 commit 94356ac

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
jobs:
1010
generate-page:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
members: read
14+
contents: read
15+
metadata: read
1216
steps:
1317
- uses: actions/checkout@v6
1418

@@ -30,6 +34,7 @@ jobs:
3034
build:
3135
name: Build Docusaurus
3236
runs-on: ubuntu-latest
37+
needs: generate-page
3338
steps:
3439
- uses: actions/checkout@v6
3540
with:

.github/workflows/test-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
jobs:
88
generate-page:
99
runs-on: ubuntu-latest
10+
permissions:
11+
members: read
12+
contents: read
13+
metadata: read
1014
steps:
1115
- uses: actions/checkout@v6
1216

@@ -28,6 +32,7 @@ jobs:
2832
test-deploy:
2933
name: Test deployment
3034
runs-on: ubuntu-latest
35+
needs: generate-page
3136
steps:
3237
- uses: actions/checkout@v6
3338
with:

0 commit comments

Comments
 (0)