mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
feat(mergify): delay mergify merging by one day
This commit is contained in:
parent
9144ea1107
commit
11801ddc9f
1 changed files with 20 additions and 2 deletions
22
.github/mergify.yml
vendored
22
.github/mergify.yml
vendored
|
|
@ -8,11 +8,29 @@ pull_request_rules:
|
||||||
message: Automatically approving lockfile updates
|
message: Automatically approving lockfile updates
|
||||||
merge:
|
merge:
|
||||||
method: merge
|
method: merge
|
||||||
- name: Merge on approval
|
|
||||||
|
- name: Prepare for merge
|
||||||
conditions:
|
conditions:
|
||||||
- and:
|
- and:
|
||||||
- "-draft"
|
- "-draft"
|
||||||
- "#approved-reviews-by>=2"
|
- "#approved-reviews-by=1"
|
||||||
|
- "#review-requested=0"
|
||||||
|
actions:
|
||||||
|
comment:
|
||||||
|
message: |
|
||||||
|
This PR is ready to be merged, and will be in 1 day if nothing happens before.
|
||||||
|
If you want other people to review your PR, request their reviews.
|
||||||
|
If you don't want this PR to be merged now, mark it as a Draft.
|
||||||
|
|
||||||
|
- name: Merge on approval
|
||||||
|
conditions:
|
||||||
|
- and:
|
||||||
|
- or:
|
||||||
|
- "#approved-reviews-by>=2"
|
||||||
|
- and:
|
||||||
|
- "#approved-reviews-by=1"
|
||||||
|
- "updated-at>=1 day ago"
|
||||||
|
- "-draft"
|
||||||
- "#review-requested=0"
|
- "#review-requested=0"
|
||||||
actions:
|
actions:
|
||||||
merge:
|
merge:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue