Skip to content

Commit b27483e

Browse files
committed
ci(github): set actions permission with others
1 parent 74ae9ba commit b27483e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010

1111
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1212
permissions:
13+
actions: write
1314
contents: read
14-
pages: write
1515
id-token: write
1616

1717
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
@@ -28,8 +28,6 @@ defaults:
2828
jobs:
2929
deploy:
3030
runs-on: ubuntu-latest
31-
permissions:
32-
actions: write
3331
env:
3432
DEPLOY_DIR: _site/
3533
DEPLOY_BRANCH: gh-pages

0 commit comments

Comments
 (0)