1 | Install DevSensei Auto-Merge on your Bitbucket DC. |
2 | To activate auto merging for a pull request, select “Auto Merge” when creating your pull request: |
3 | As soon as all configured merge checks are fulfilled, the pull request is auto merged (after a waiting time of 20s since PR creation). |
4 | Ready to take the next step? To fasten your PR workflow, consider enabling Ship/Show/Ask support. |
Enable Ship/Show/Ask support
In order to enable full support for the Ship/Show/Ask PR workflow for a repository, perform the following actions (you need admin permissions on that repository):
Go to Repository Settings from the left navigation panel
Go to Code Owners from the left menu
Go to the DevSensei Auto-Merge tab on top
Select Enabled in front of the Ship/Show/Ask PR workflow setting.
To enable full support for all repositories in a project, perform the following actions (you need admin permissions on that project):
Go to Project Settings from the left navigation panel
Under the add-ons section on the left, go to Code Owners
Go to the DevSensei Auto-Merge tab on top
Tick the toggle button in front of the Ship/Show/Ask PR workflow setting.
Use Case
Read about the benefits and use cases of Ship/Show/Ask in our introductory content.
Creating Pull Request with Ship/Show/Ask
(Requires to have full suport for Ship/Show/Ask enabled)
In order to use the Ship/Show/Ask PR workflow for your pull request, go to the PR creation page, and fill out the part of the form in front of “Auto Merge”, depending on your needs.
Related Pull Request Automation
If you want to automate more in your pull request work-flow, check out:
Assign reviewers with Code Owners
Create Tasks based on pull request content with Pull Request Checklist Buddy
Still some automation for your pull requests missing? Let us know.
Disable DevSensei
In order to disable DevSensei on a repository, perform the following actions (you need admin permissions on that repository):
Go to Repository Settings from the left navigation panel
Under the add-ons section on the left, go to Code Owners
Go to the DevSensei Auto-Merge tab on top
Select Disabled in front of the DevSensei auto-merge setting.
In order to disable DevSensei on a project, perform the following actions (you need admin permissions on that project):
Go to Project Settings from the left navigation panel
Under the add-ons section on the left, go to Code Owners
Go to the DevSensei Auto-Merge tab on top
Tick the toggle button in front of the DevSensei auto-merge setting.
You can also disable DevSensei for both projects and repositories if they have not been explicitly enabled above. Perform the following actions (you need global admin permissions)
Go to Administration from the upper right hand corner
Under the add-ons section on the left, go to Code Owners
Click the toggle button in front of the DevSensei auto-merge setting.