-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1008 Bytes
/
automerge.yaml
File metadata and controls
36 lines (36 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Auto Merge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
status: {}
jobs:
automerge:
concurrency: automerge-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: 'Wait for status checks'
id: waitforstatuschecks
uses: "WyriHaximus/github-action-wait-for-status@b809158b20d3e32350fe2d868a124f7f2e0e4253" # v1
with:
ignoreActions: automerge
checkInterval: 300
env:
GITHUB_TOKEN: "${{ secrets.SUBSPLIT_GITHUB_TOKEN }}"
- name: 'Merge'
uses: "pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67" # v0.16.4
# if: steps.waitforstatuschecks.outputs.status == 'success'
env:
GITHUB_TOKEN: "${{ secrets.SUBSPLIT_GITHUB_TOKEN }}"
MERGE_LABELS: automerge
MERGE_FORKS: false