AutoApprove a PR only after all Status Checks pass successfully #32947
gioce90
started this conversation in
Suggest an Idea
Replies: 1 comment 1 reply
|
Possible but impractical. You'd have to wait until the next time Renovate runs, so then your developers would be wondering why it's not auto approved. Why do feelings matter here? It should only merge if it is approved and passes. An approved but failing PR shouldn't be any threat. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Tell us more.
With issue #9685 and #21576, we have the
autoApprovesetting.It would be great if this approval could be conditioned to occur only when all the Status checks of the PR have passed successfully.
Here’s an example: in my workflow with Azure DevOps, PRs can only be completed after a review from three developers. This setup works well for feature development or bug fixes created by other devs. However, for Renovate PRs, one or two reviewers are usually sufficient.
The autoApprove setting is especially useful in this scenarios with a "minimal number of reviewers" policy, as the Renovate bot itself can approve the PR.
However, it feels odd to see an approval when some status checks, such as builds or unit tests, have failed.
Would it be possible to delay this automatic approval until all status checks for the PR have passed successfully?
All reactions