mirror of
https://github.com/docling-project/docling.git
synced 2025-06-27 05:20:05 +00:00
ci(Mergify): configuration update (#339)
* ci(Mergify): configuration update Signed-off-by: Michele Dolfi <null> Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * remove conventionalcommits from the checklist Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> --------- Signed-off-by: Michele Dolfi <null> Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
ca8524ecae
commit
364d37ca96
5
.github/PULL_REQUEST_TEMPLATE.md
vendored
5
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -3,7 +3,8 @@
|
||||
<!-- STEPS TO FOLLOW:
|
||||
1. Add a description of the changes (frequently the same as the commit description)
|
||||
2. Enter the issue number next to "Resolves #" below (if there is no tracking issue resolved, **remove that section**)
|
||||
3. Follow the steps in the checklist below, starting with the **Commit Message Formatting**.
|
||||
3. Make sure the PR title follows the **Commit Message Formatting**: https://www.conventionalcommits.org/en/v1.0.0/#summary.
|
||||
4. Follow the steps in the checklist below, starting with the **Commit Message Formatting**.
|
||||
-->
|
||||
|
||||
<!-- Uncomment this section with the issue number if an issue is being resolved
|
||||
@ -13,8 +14,6 @@ Resolves #
|
||||
|
||||
**Checklist:**
|
||||
|
||||
- [ ] **Commit Message Formatting**: Commit titles and messages follow guidelines in the
|
||||
[conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary).
|
||||
- [ ] Documentation has been updated, if necessary.
|
||||
- [ ] Examples have been added, if necessary.
|
||||
- [ ] Tests have been added, if necessary.
|
||||
|
15
.mergify.yml
Normal file
15
.mergify.yml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user