Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 6884fba

Browse files
John Andersenliceoa
authored andcommitted
ci: pr auto approve: Add dispatch permission via contents write
1 parent 4548484 commit 6884fba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/00_pr_auto_approve.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
jobs:
1414
trigger-approve-pr:
1515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: write
1618
if: ${{ github.event_name == 'pull_request_review' && contains(fromJson('["pdxjohnny"]'), github.event.actor) }}
1719
steps:
1820
- name: 'Repository Dispatch: approve-pr'

0 commit comments

Comments
 (0)