-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michele Dolfi <[email protected]>
- Loading branch information
1 parent
204c3d1
commit f3f2ae6
Showing
5 changed files
with
22 additions
and
8 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,16 @@ | ||
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 | ||
- files ~= ^tests | ||
success_conditions: | ||
- "#approved-reviews-by >= 2" |
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
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