-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(Mergify): configuration update (#339)
* ci(Mergify): configuration update Signed-off-by: Michele Dolfi <null> Signed-off-by: Michele Dolfi <[email protected]> * remove conventionalcommits from the checklist Signed-off-by: Michele Dolfi <[email protected]> --------- Signed-off-by: Michele Dolfi <null> Signed-off-by: Michele Dolfi <[email protected]>
- Loading branch information
1 parent
ca8524e
commit 364d37c
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |