Skip to content

Commit

Permalink
GH actions: permissions.contents.write
Browse files Browse the repository at this point in the history
refs #485 (comment)

Some users might have their repository workflow permissions
set to read only. This change should ensure the workflow job
can write commits back to the output and gh-pages branches
on GitHub.
  • Loading branch information
dhimmel authored Feb 21, 2023
1 parent 47b6cf6 commit f99263d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/manubot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
manubot:
name: Manubot
runs-on: ubuntu-latest
permissions:
contents: write
env:
GITHUB_PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
# Set SPELLCHECK to true/false for whether to check spelling in this action.
Expand Down

0 comments on commit f99263d

Please sign in to comment.