Skip to content

Commit

Permalink
ci(Mergify): configuration update
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <null>
  • Loading branch information
dolfim-ibm committed Nov 14, 2024
1 parent 8533039 commit 7aa41ac
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 7aa41ac

Please sign in to comment.