[Merged by Bors] - ci: do not let bors run if the awaiting-CI label is present#6068
[Merged by Bors] - ci: do not let bors run if the awaiting-CI label is present#6068eric-wieser wants to merge 1 commit intomasterfrom
Conversation
We already did this in mathlib3
|
Is there a way to make this do the stronger thing of not running until ci actually passes? |
|
Not as far as I know. Either way, I think there's benefit to merging this PR as is; it means that it's not possible to merge something without CI unless you consciously remove a label. @kbuzzard did so accidentally earlier today. |
|
But if people never add the label in the first place we still have an issue is my point. Perhaps we need an action to automatically add the label if bors cannot be conditional on ci passing itself. |
|
Looking at the bors reference https://bors.tech/documentation/ the |
|
Looks like it does do the right thing, waiting on any statuses mentioned there to be not in process or unset, and erroring if they fail. |
|
Sometimes we want to override that deliberately though, which I assume that does not let us do? I still think the approach we had in mathlib 3 and that this PR enables, while not perfect, is better than what we have now. |
|
I don't know why we would want to override it? Just to get something into master <=1hr faster? I assume priorities would still be helpful in such a situation, or at worst pushing directly to master if something that the maintainers truly wanted in master instantly came up? |
Yes: for instance if a PR is green but someone requests a typo fix in documentation, there's little point in waiting for a CI run. It would of course be better if the CI run could also be cancelled to save resources. |
|
I worked out why this option is missing from mathlib4; it was added in mathlib3 a day or two after the mathlib4 repo was set up, so I've labelled this with |
|
bors merge |
We already did this in mathlib3. This forward-ports leanprover-community/mathlib3#9478, which was created a few days after this file was ported in #52.
|
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
We already did this in mathlib3. This forward-ports leanprover-community/mathlib3#9478, which was created a few days after this file was ported in #52.
We already did this in mathlib3. This forward-ports leanprover-community/mathlib3#9478, which was created a few days after this file was ported in #52.
We already did this in mathlib3.
This forward-ports leanprover-community/mathlib3#9478, which was created a few days after this file was ported in #52.