Hi Team,
I have opted into the "Allow automatic merge when builds pass" under the branch permission.
But when I create a pull request, and it runs the pipeline, all pipeline steps work fine, after that other member approve the PR, and my PR has passed all checks applied properly, but this PR does not merge automatically to the destination branch,
can you please suggest why it does not merge automatically as I supposed it should be merged when other member approved that PR?
Hi @vnaren26 and welcome to the community!
This option works as follows:
When you have all required merge checks except successful builds completed, you can select the Merge button in the pull request to request a merge of the PR. When the builds are completed, the PR will be merged automatically. You will also need to have the option Prevent a merge with unresolved merge checks checked, to prevent a merge with unresolved merge checks.
This option is useful when the builds take a long time to complete while all the other merge checks are completed. If your builds are completed successfully before all the other checks (like approvals), you can then merge the PR after the other checks are completed.
You can read more info in this blog post:
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.