Skip to content

Commit bb2576b

Browse files
chore: add automerge action
1 parent 3df9fb5 commit bb2576b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Automatically Merge Approved PRs
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- labeled
9+
- reopened
10+
pull_request_review:
11+
types:
12+
- submitted
13+
check_suite:
14+
types:
15+
- completed
16+
17+
jobs:
18+
automerge:
19+
name: Automerge
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Automatically Merge
23+
uses: NGL321/automerge-action@main
24+
env:
25+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
26+
LOG: "TRACE"
27+
MERGE_LABELS: "!pr/do-not-merge"
28+
MERGE_METHOD: "squash"
29+
MERGE_COMMIT_MESSAGE: "pull-request-title-and-description"
30+
MERGE_DELETE_BRANCH: "true"

0 commit comments

Comments
 (0)