Skip to content

Commit

Permalink
GH actions: permissions.contents.write
Browse files Browse the repository at this point in the history
refs manubot/rootstock#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 and danich1 committed Apr 5, 2023
1 parent 74966c7 commit 291bc06
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 291bc06

Please sign in to comment.