I have a pipeline which runs after pushing to a branch. I also want to run it manually from the UI. For this I have to add a "custom" keyword and basically copy-paste the branch pipeline (https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html#Configurebitbucket-pipelines.yml-ci_custom).
Is there no easier way to do this? E.g. a boolean to run branch pipelines manually from the UI, or a way to reference steps in the bitbucket-pipelines.yml?