Skip to content

Commit 4384034

Browse files
committed
Add new rules to mergify config
New rules to automatically comment on a PR if it modifies bazel but not make, or vice versa, as this might be a case where dependency versions are not kept in sync
1 parent 07913d3 commit 4384034

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/mergify.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,26 @@ pull_request_rules:
1313
label:
1414
add:
1515
- make
16+
- name: Add comment if only bazel is touched
17+
conditions:
18+
- and:
19+
- files~=\.(bazel|bzl)$
20+
- -files~=(Makefile|\.mk)$
21+
- head!=bump-rules_erlang
22+
- -head~=bump-rbe-
23+
- -head~=mergify/bp/
24+
actions:
25+
comment:
26+
message: This pull request modifies the bazel build only. Should the makefiles be updated as well @{{author}}?
27+
- name: Add comment if only make is touched
28+
conditions:
29+
- and:
30+
- files~=(Makefile|\.mk)$
31+
- -files~=\.(bazel|bzl)$
32+
- -head~=mergify/bp/
33+
actions:
34+
comment:
35+
message: This pull request modifies the erlang.mk build only. Should the makefiles be updated as well @{{author}}?
1636
- name: Automatically backport to v3.10.x based on label
1737
conditions:
1838
- base=master

0 commit comments

Comments
 (0)