forked from ros-navigation/navigation2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmergify.yml
83 lines (76 loc) · 2.67 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
pull_request_rules:
- name: backport to jazzy at reviewers discretion
conditions:
- base=main
- "label=backport-jazzy"
actions:
backport:
branches:
- jazzy
- name: backport to iron at reviewers discretion
conditions:
- base=main
- "label=backport-iron"
actions:
backport:
branches:
- iron
- name: backport to humble at reviewers discretion
conditions:
- base=main
- "label=backport-humble"
actions:
backport:
branches:
- humble
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch:
- name: ask to resolve conflict
conditions:
- conflict
- author!=mergify
actions:
comment:
message: This pull request is in conflict. Could you fix it @{{author}}?
- name: development targets main branch
conditions:
- base!=main
- author!=SteveMacenski
- author!=mergify
actions:
comment:
message: |
@{{author}}, all pull requests must be targeted towards the `main` development branch.
Once merged into `main`, it is possible to backport to @{{base}}, but it must be in `main`
to have these changes reflected into new distributions.
- name: Main build failures
conditions:
- base=main
- or:
- "check-failure=ci/circleci: debug_build"
- "check-failure=ci/circleci: release_build"
actions:
comment:
message: |
@{{author}}, your PR has failed to build. Please check CI outputs and resolve issues.
You may need to rebase or pull in `main` due to API changes (or your contribution genuinely fails).
- name: Removed maintainer checklist
conditions:
- and:
- body-raw~=^#### For Maintainers
- author!=SteveMacenski
- author!=mergify
actions:
comment:
message: |
@{{author}}, please properly fill in PR template in the future. @stevemacenski, use this instead.
- [ ] Check that any new parameters added are updated in docs.nav2.org
- [ ] Check that any significant change is added to the migration guide
- [ ] Check that any new features **OR** changes to existing behaviors are reflected in the tuning guide
- [ ] Check that any new functions have Doxygen added
- [ ] Check that any new features have test coverage
- [ ] Check that any new plugins is added to the plugins page
- [ ] If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists