forked from eesast/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
36 lines (36 loc) · 841 Bytes
/
.mergify.yml
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
pull_request_rules:
- name: branch name check
conditions:
- "head~=^(master|main)/"
- "-merged"
- "-closed"
actions:
close:
message: |
@{{author}}
Wrong Branch Name: {{head}}
Please use a meaningful name instead.
This Pull Request will be closed.
label:
add:
- "invalid"
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
- name: automatic label Renovate pull requests
conditions:
- author=renovate[bot]
actions:
label:
add:
- "dependency"
- "bot"
- name: automatic merge for Renovate pull requests
conditions:
- author=renovate[bot]
- check-success=test
actions:
merge:
method: rebase