Skip to content

Commit

Permalink
Merge pull request #41 from exonet/robbinjanssen-patch-1
Browse files Browse the repository at this point in the history
Auto approve depedabot patches
  • Loading branch information
robbinjanssen authored Jul 31, 2023
2 parents a6abc7e + ce91046 commit 2d0c47a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Approve a PR
if: ${{ 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 }}

- name: Auto-merge if patch
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr merge --auto --merge "$PR_URL"
Expand Down

0 comments on commit 2d0c47a

Please sign in to comment.