-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrules.yaml
43 lines (43 loc) · 1.03 KB
/
rules.yaml
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
---
rules:
- name: (AutoLabel) Pull request size
when:
- pull_request:
size_greater_than: large
execute:
- github:
add_label: CR-too_long
- name: (AutoLabel) Pull request complexity
when:
- pull_request:
more_complex_than: high
execute:
- github:
add_label: CR-one_job
- name: (AutoLabel) Pull request justification
when:
- pull_request: poor_justification
execute:
- github:
add_label: CR-insufficient_context
- name: Merge conflict check
when:
- pull_request: opened
- pull_request: reopened
- pull_request: synchronize
- pull_request: edited
execute:
- github: check_conflicts
- name: AutoMerge™
when:
- pull_request:
labeled: P-merge
- pull_request: edited
- pull_request: approved
- pull_request_comment:
added: null
- status_check: check_suite_success
execute:
- merge:
acks_required: 1
perform_merge: true