Skip to content

Commit

Permalink
Update dependabot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjanssen committed Jul 31, 2023
1 parent 270cb13 commit 98066da
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 @@ -23,6 +23,13 @@ jobs:
uses: dependabot/fetch-metadata@v1.6.0
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' }}
Expand Down

0 comments on commit 98066da

Please sign in to comment.