Skip to content

Commit 91d8191

Browse files
authored
Create dependabot-automerge.yml (#1861)
1 parent 3d91646 commit 91d8191

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Dependabot Automerge
2+
on: pull_request
3+
4+
permissions:
5+
contents: write
6+
7+
jobs:
8+
dependabot-automerge:
9+
runs-on: ubuntu-latest
10+
if: ${{ github.actor == 'dependabot[bot]' }}
11+
env:
12+
PR_URL: ${{github.event.pull_request.html_url}}
13+
steps:
14+
#- name: approve
15+
# run: gh pr review --approve "$PR_URL"
16+
- name: merge
17+
run: gh pr merge --auto --squash --delete-branch "$PR_URL"

0 commit comments

Comments
 (0)