Skip to content

Commit c2486bd

Browse files
committed
Update permissions
1 parent 54ecf29 commit c2486bd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ on:
1616

1717
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1818
permissions:
19-
contents: read
20-
pages: write
19+
contents: write
2120
id-token: write
2221

2322
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.

.github/workflows/pr-deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ on:
99

1010
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1111
permissions:
12-
contents: read
12+
contents: write
1313
pull-requests: write
14-
pages: write
1514
id-token: write
1615

1716
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.

0 commit comments

Comments
 (0)