Skip to content

Commit

Permalink
Merge pull request #129938 from carlocab/workflow-permissions
Browse files Browse the repository at this point in the history
workflows: update `GITHUB_TOKEN` permissions
  • Loading branch information
carlocab committed May 2, 2023
2 parents 5cc9480 + 1477c52 commit d670a83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/create-replacement-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
permissions:
contents: read
pull-requests: write # for `post-comment`, `gh api`, `gh pr edit`
repository-projects: write # for `gh pr edit`
defaults:
run:
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-commit-bottles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
contents: read
actions: write # for `gh workflow run`
pull-requests: write # for `gh pr edit|comment|review`
repository-projects: write # for `gh pr edit`
steps:
- name: Check PR approval
env:
Expand Down Expand Up @@ -234,6 +235,7 @@ jobs:
contents: read
actions: write # for `gh workflow run`
pull-requests: write # for `gh pr edit|review`
repository-projects: write # for `gh pr edit`
defaults:
run:
shell: bash
Expand Down

0 comments on commit d670a83

Please sign in to comment.