Skip to content

Commit ed5dd17

Browse files
authored
Create auto-merge workflow for renovate-bot
1 parent a32759f commit ed5dd17

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/automerge.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Auto-Merge
2+
on:
3+
pull_request_target:
4+
jobs:
5+
enable-auto-merge:
6+
runs-on: ubuntu-latest
7+
if: github.event.pull_request.user.login == 'renovate-bot'
8+
steps:
9+
- uses: alexwilson/enable-github-automerge-action@main
10+
with:
11+
github-token: "${{ secrets.GITHUB_TOKEN }}"
12+
merge-method: "SQUASH"

0 commit comments

Comments
 (0)