Skip to content

Commit

Permalink
chore(auto-merge): approve PR on auto merge (#512)
Browse files Browse the repository at this point in the history
Auto approves relevant dependabot PRs due to the new required reviewers.

Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
  • Loading branch information
steebchen and abelanger5 authored May 17, 2024
1 parent e60ac05 commit e77e8d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ jobs:
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Approve (minor & patch)"
id: approve
if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e77e8d9

Please sign in to comment.