I know that there is a possibility to restrict the bitbucket-pipelines.yml to run on specific branch using the following syntax:
image: node:4.6.0
pipelines:
default:
branches:
master:
- step:
script:
- echo Hi
- echo How are you
The above syntax would run the yml pipeline on commit to master branch.
But this there any way to run the pipeline only when the "pull request is merged to master branch" but not when a commit is done on master branch?
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.