Skip to content

Commit 838a628

Browse files
committed
mergify: add rules to label PRs based on pbr sem-ver data
1 parent b852662 commit 838a628

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.mergify.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,24 @@ pull_request_rules:
3333
add:
3434
- documentation
3535

36+
- name: Add breaking-change label
37+
# https://docs.openstack.org/pbr/latest/user/features.html
38+
conditions:
39+
- "body~=Sem-Ver: api-break"
40+
actions:
41+
label:
42+
add:
43+
- "breaking change"
44+
45+
- name: Add feature label
46+
# https://docs.openstack.org/pbr/latest/user/features.html
47+
conditions:
48+
- "body~=Sem-Ver: feature"
49+
actions:
50+
label:
51+
add:
52+
- feature
53+
3654
- name: Automatic merge on approval
3755
conditions:
3856
- and:

0 commit comments

Comments
 (0)