ci(Mergify): configuration update

Signed-off-by: Michele Dolfi <null>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2024-11-14 13:42:36 +01:00 committed by Michele Dolfi
parent 8533039b0c
commit df0c773eae

15
.mergify.yml Normal file
View File

@ -0,0 +1,15 @@
merge_protections:
- name: Enforce conventional commit
description: Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
if:
- base = main
success_conditions:
- "title ~=
^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\(.+\
\\))?:"
- name: Require two reviewer for test updates
description: When test data is updated, we require two reviewers
if:
- base = main
success_conditions:
- "#approved-reviews-by >= 2"