diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-18 19:51:59 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-19 11:03:13 +0200 |
| commit | 11801ddc9f4b1972e10199c3c4358d287c02453e (patch) | |
| tree | aff16b48ca159ffee9f8a0605c61d68933ab048d | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-11801ddc9f4b1972e10199c3c4358d287c02453e.tar nvim-treesitter-11801ddc9f4b1972e10199c3c4358d287c02453e.tar.gz nvim-treesitter-11801ddc9f4b1972e10199c3c4358d287c02453e.tar.bz2 nvim-treesitter-11801ddc9f4b1972e10199c3c4358d287c02453e.tar.lz nvim-treesitter-11801ddc9f4b1972e10199c3c4358d287c02453e.tar.xz nvim-treesitter-11801ddc9f4b1972e10199c3c4358d287c02453e.tar.zst nvim-treesitter-11801ddc9f4b1972e10199c3c4358d287c02453e.zip | |
feat(mergify): delay mergify merging by one day
| -rw-r--r-- | .github/mergify.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/mergify.yml b/.github/mergify.yml index dd730b8ca..b95a074a5 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -8,11 +8,29 @@ pull_request_rules: message: Automatically approving lockfile updates merge: method: merge + + - name: Prepare for merge + conditions: + - and: + - "-draft" + - "#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" - - "#approved-reviews-by>=2" - "#review-requested=0" actions: merge: |
