Skip to content

Commit 4f653c2

Browse files
authored
chore: add mergify config (#101)
Signed-off-by: Panos Vagenas <[email protected]>
1 parent 951bfba commit 4f653c2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/mergify.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
merge_protections:
2+
- name: Enforce conventional commit
3+
description: Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
4+
if:
5+
- base = main
6+
success_conditions:
7+
- "title ~=
8+
^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\(.+\
9+
\\))?(!)?:"
10+
- name: Require two reviewer for test updates
11+
description: When test data is updated, we require two reviewers
12+
if:
13+
- base = main
14+
- files ~= ^test
15+
success_conditions:
16+
- "#approved-reviews-by >= 2"

0 commit comments

Comments
 (0)