Skip to content

Commit f1df02a

Browse files
committed
ci: Organize the permissions better
1 parent d748984 commit f1df02a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
- main
77
- wip
88
workflow_dispatch:
9-
10-
permissions:
11-
contents: write
12-
pages: write
139

1410
concurrency:
1511
group: docs-${{ github.ref }}
@@ -20,6 +16,10 @@ jobs:
2016
name: Build and deploy documentation
2117
runs-on: ubuntu-latest
2218

19+
permissions:
20+
contents: write
21+
pages: write
22+
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4

0 commit comments

Comments
 (0)