-
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (46 loc) · 1.24 KB
/
automerge.yml
File metadata and controls
56 lines (46 loc) · 1.24 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: automerge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
permissions:
contents: write
env:
MERGE_LABELS: "autorelease: pending"
MERGE_REMOVE_LABELS: "automerge, autorelease: pending"
MERGE_METHOD: "squash"
MERGE_REQUIRED_APPROVALS: 0
MERGE_RETRIES: "3"
MERGE_RETRY_SLEEP: "10000"
# labels that need to be present for a pull request to be updated
# * updating will only happen when the option "Require branches to be up to date before merging" is enabled in the branch protection rules
UPDATE_LABELS: ""
UPDATE_METHOD: "rebase"
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- id: automerge
name: automerge
uses: "pascalgn/automerge-action@v0.15.6"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
LOG: "DEBUG" # DEBUG, INFO, WARN, ERROR, TRACE
- name: feedback
if: ${{ steps.automerge.outputs.mergeResult == 'merged' }}
run: |
echo "Pull request ${{ steps.automerge.outputs.pullRequestNumber }} merged!"