Wait until master build passes before merging #2408
-
Hi, I am not super clear on the strict mode behavior. Does it wait for the master build to go green (so serialise the builds on master) or does it simply update the next PR, wait for it to go green and merge (without checking the build status for master). The scenario I am struggling with is master does a deployment, so I want to serialise the builds on master. The simplest way is to only merge the next PR once master goes green. Is this scenario supported? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, The Depending on what you try to achieve, you also have the In the future, we may provide something to pause the merge queue if needed, maybe via API. |
Beta Was this translation helpful? Give feedback.
-
IIUC, you want to wait for a CI to finish on That does not sound like something possible currently with Mergify nor GitHub. There's no link between a CI reporting on master and pull requests. The only way to do that would have the build on |
Beta Was this translation helpful? Give feedback.
Hi,
The
merge
actionupdate the next PR, wait for it to go green and merge.
Its goal is to never merge a broken pull request.Depending on what you try to achieve, you also have the
queue
action that allows configuring a different set of conditions for moving the pull request into the merge queue and for doing the final merge.In the future, we may provide something to pause the merge queue if needed, maybe via API.