Skip to content

Commit f12c1db

Browse files
committed
Checking permissions for deploy
1 parent 545bdac commit f12c1db

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build_docs.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ on:
88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
1010

11-
permissions:
12-
contents: read
13-
pull-requests: write
14-
id-token: write
15-
1611
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1712
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1813
concurrency:
@@ -22,6 +17,10 @@ concurrency:
2217
jobs:
2318
build_docs:
2419
name: Build Docs
20+
permissions:
21+
contents: read
22+
pull-requests: write
23+
id-token: write
2524
environment:
2625
name: github-pages
2726
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)