Skip to content

Commit 3072865

Browse files
ci: add automerge action for native dependabot updates
1 parent 086967f commit 3072865

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Automerge
2+
3+
on:
4+
check_suite:
5+
types:
6+
- completed
7+
8+
jobs:
9+
automerge:
10+
runs-on: ubuntu-latest
11+
if: |
12+
github.actor == 'dependabot[bot]' &&
13+
github.event_name == 'pull_request' &&
14+
startsWith(github.event.pull_request.title, 'chore(deps')
15+
steps:
16+
- name: Merge me!
17+
uses: ridedott/merge-me-action@v2
18+
with:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)