mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 05:53:12 +00:00
fix(ci): require review and ci before mergify auto-queue
This commit is contained in:
parent
dce935ce31
commit
a04036962c
1 changed files with 19 additions and 0 deletions
19
.mergify.yml
19
.mergify.yml
|
|
@ -8,6 +8,18 @@ merge_protections_settings:
|
||||||
- -draft
|
- -draft
|
||||||
- author != dependabot[bot]
|
- author != dependabot[bot]
|
||||||
- author != renovate[bot]
|
- author != renovate[bot]
|
||||||
|
- "#approved-reviews-by >= 1"
|
||||||
|
- github-code-owner-review-satisfied
|
||||||
|
- check-success = "ci / ci"
|
||||||
|
|
||||||
|
merge_protections:
|
||||||
|
- name: require-review-and-ci
|
||||||
|
if:
|
||||||
|
- base = main
|
||||||
|
success_conditions:
|
||||||
|
- "#approved-reviews-by >= 1"
|
||||||
|
- github-code-owner-review-satisfied
|
||||||
|
- check-success = "ci / ci"
|
||||||
|
|
||||||
queue_rules:
|
queue_rules:
|
||||||
- name: default
|
- name: default
|
||||||
|
|
@ -16,6 +28,13 @@ queue_rules:
|
||||||
- -draft
|
- -draft
|
||||||
- author != dependabot[bot]
|
- author != dependabot[bot]
|
||||||
- author != renovate[bot]
|
- author != renovate[bot]
|
||||||
|
- "#approved-reviews-by >= 1"
|
||||||
|
- github-code-owner-review-satisfied
|
||||||
|
- check-success = "ci / ci"
|
||||||
|
merge_conditions:
|
||||||
|
- "#approved-reviews-by >= 1"
|
||||||
|
- github-code-owner-review-satisfied
|
||||||
|
- check-success = "ci / ci"
|
||||||
merge_method: squash
|
merge_method: squash
|
||||||
commit_message_format:
|
commit_message_format:
|
||||||
title: inherit
|
title: inherit
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue