Replies: 1 comment 7 replies
-
Hi @mzwaen, There's no I'm surprised that you're using the What's the underlying reading for wanting |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! we are new to mergify and would like to use this tool to solve this specific situation:
We would like PRs to be automatically merged to the develop branch (our default branch) when certain conditions are met, in particular, when several CI checks (including GitHub actions) passed.
PRs that are out of date should be rebased to develop, CI tests should then be retriggered and the PRs should only be merged if the CI checks were successful.
I saw that the
strict_method=rebase
option should be able to achieve this, and I was going to use this configuration that seems to work well for the use case described above:but the documentation says that this option is now depreciated: https://docs.mergify.io/actions/merge/
It suggests replacing the
merge
action with thequeue
action and I therefore tried this configuration:However, from what I can see, using the
queue
action, there is no option to update the PRs using therebase
method rather than themerge
method. With themerge
method, the new changes in develop are merged into the PR branch and mergify adds a merge commit to it, which is not what we want.Does a
rebase
method exist for the update of PRs when using thequeue
action? I know that therebase
method has some drawbacks:https://docs.mergify.io/actions/merge/#strict-rebase
but we would be ready to live with them.
If the option to use the
rebase
method is not available for thequeue
action, are there risks in continuing using the depreciatedStrict merge
option? According to the documentation, it should be able to prevent merging broken pull requests as it should retrigger all CI tests after the PR has been updated. Could you confirm this is the case and we can keep using this depreciated method (so the first configuration)?Thank you very much in advance!
Beta Was this translation helpful? Give feedback.
All reactions