Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
× I want to create a pipeline script that automatically triggers when a pull request is approved, checks for merge conflicts, and if none are found, merges the PR into the main
branch.
Hi @Sneha Ramesh ,
There is no approved trigger so you would need a custom app/webhook to check receive the event and trigger the pipeline using the trigger pipeline API. You could use the API to merge the PR too. Depending on your requirements, you might also rely on the Allow automatic merge when builds pass, option.
Alternatively, we provide an Bitbucket app that can help implement these types of workflow. You can use our smart pipelines which can let you trigger on different conditions or/and the smart auto merge, feature. There are different possibilities to achieve what you want with Flowie, so you might want to reach out to our support so we help you tailor your config to your needs.
Hi @Saxea _Flowie_ ,
Thank you. Could you please brief me on the steps for this flow? Also, is there any reference material I can go through?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to implement it yourself, here is a good starting point. And if you need help you can post on the developer community.
If you want to use Flowie as a pre built solution, you can follow the steps on Getting started and email support@flowie.app if you need assistance setting up your flow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.