Skip to content

Commit 27baf5c

Browse files
committed
Move permissions to whole workflow
1 parent e267ff7 commit 27baf5c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docs.yml

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

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build-docs:
1013
name: Build & Upload Artifact
@@ -38,8 +41,6 @@ jobs:
3841
name: Upload docs to GitHub pages
3942
runs-on: ubuntu-latest
4043
needs: build-docs
41-
permissions:
42-
contents: write
4344
steps:
4445
- uses: actions/download-artifact@v3
4546
with:

0 commit comments

Comments
 (0)