fix: add write permission to GitHub actions
This commit is contained in:
parent
aa641d2716
commit
11da5cc8a9
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@ -10,6 +10,11 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
# Give the default GITHUB_TOKEN write permission to commit and push the
|
||||
# added or changed files to the repository.
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
7
.github/workflows/update-theme.yml
vendored
7
.github/workflows/update-theme.yml
vendored
@ -9,9 +9,14 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
update-theme:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
# Give the default GITHUB_TOKEN write permission to commit and push the
|
||||
# added or changed files to the repository.
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user