mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 12:48:28 +00:00
ci: fix mergify (#350)
* no conv commit message Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * fix mergify rules Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> --------- Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
18
.github/mergify.yml
vendored
Normal file
18
.github/mergify.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
- or:
|
||||
- files ~= ^tests/data
|
||||
- files ~= ^tests/data_scanned
|
||||
success_conditions:
|
||||
- "#approved-reviews-by >= 2"
|
||||
Reference in New Issue
Block a user