Skip to content

Commit

Permalink
Create dependabot-automerge.yml (#1861)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross authored Apr 13, 2024
1 parent 3d91646 commit 91d8191
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Dependabot Automerge
on: pull_request

permissions:
contents: write

jobs:
dependabot-automerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
PR_URL: ${{github.event.pull_request.html_url}}
steps:
#- name: approve
# run: gh pr review --approve "$PR_URL"
- name: merge
run: gh pr merge --auto --squash --delete-branch "$PR_URL"

0 comments on commit 91d8191

Please sign in to comment.