Home > Back-end >  How can I define an order in my GitHub checks?
How can I define an order in my GitHub checks?

Time:11-18

I have multiple GitHub checks. One of them is mergify. It merges the PR is all defined checks are successful. However in my case there is a different check that only starts after a minute or so, which is why mergify always misses it.

How can I make sure that mergify starts with some delay or better that it starts as the last GitHub app

CodePudding user response:

You can't and should not do that.

If you wrote your Mergify config with something like "#check-failure!=0" or #check-pending!=0 this is exactly why the Mergify documentation states that you should not do that.

The only secure way to merge a pull request automatically is to list all the CI you expect to pass to have it merged.

CodePudding user response:

Requiring that my test is in check-success worked.

  • Related