Skip to content

Commit

Permalink
fix(workflows/release-actions): add actions permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
neilime committed Mar 27, 2023
1 parent b6555f9 commit c5df5b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ jobs:
permissions:
pull-requests: write
contents: write
actions: write

steps:
- uses: actions/checkout@v3.1.0
Expand Down
1 change: 1 addition & 0 deletions actions/create-and-merge-pull-request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ inputs:
github-token:
description: "GitHub token for creating and merging pull request (permissions contents: write and pull-requests: write). See https://github.com/peter-evans/create-pull-request#action-inputs"
default: ${{ github.token }}
required: true
private-access-token:
description: "GitHub private access token for approving & merging pull request. Must be different from github-token. See https://cli.github.com/manual/gh_pr_merge"
required: true
Expand Down

0 comments on commit c5df5b1

Please sign in to comment.