Skip to content

Commit

Permalink
fix: add write permission to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
CaiJimmy committed Jul 12, 2023
1 parent aa641d2 commit 11da5cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/update-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 11da5cc

Please sign in to comment.