Skip to content

Commit

Permalink
auto-merge dependabot PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjit-bhat committed Jul 14, 2024
1 parent a836fa1 commit a6e63c2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Dependabot auto-merge
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 }}
GH_TOKEN: ${{ github.token }}
steps:
- name: merge
run: gh pr merge --auto --merge --delete-branch "$PR_URL"

0 comments on commit a6e63c2

Please sign in to comment.