Skip to content

Commit

Permalink
github/workflows: Add needed permissions
Browse files Browse the repository at this point in the history
The man page converter and updater need content write permission
to perform push operation.

Signed-off-by: Jianxin Xiong <[email protected]>
  • Loading branch information
j-xiong committed Apr 1, 2024
1 parent 14085ee commit 72bd5cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-man.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: GH Man Page Updater
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
pull-requests: write
steps:
- name: Debug information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nroff-elves.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: The Nroff Elves
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
pull-requests: write
steps:
- name: Debug information
Expand Down

0 comments on commit 72bd5cd

Please sign in to comment.