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

Commit

Permalink
ci: pr auto approve: Add dispatch permission via contents write
Browse files Browse the repository at this point in the history
  • Loading branch information
John Andersen authored Jul 11, 2024
1 parent 2dfacd2 commit c1669ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/00_pr_auto_approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
jobs:
trigger-approve-pr:
runs-on: ubuntu-latest
permissions:
contents: write
if: ${{ github.event_name == 'pull_request_review' && contains(fromJson('["pdxjohnny"]'), github.event.actor) }}
steps:
- name: 'Repository Dispatch: approve-pr'
Expand Down

0 comments on commit c1669ae

Please sign in to comment.