Hi I'm currently having some trouble setting up a pipeline when I'm merging a feature branche in my develop branch and generating a Changelog.
Right now my pipeline is being stuck in a loop since I'm pushing my generate changelog to develop after the merge.
script: # Modify the commands below to build your repository
- git config user.email "my_email.com"
- git config user.name "my_name"
- npm install
- npm run release
- git push --follow-tags origin develop
I hope you guys can help me out!
For future reference, you can disable triggering the pipeline by committing with "[skip ci]" in the commit message - see FAQ about this.
What I would do in the requested scenario is to actually implement CHANGELOG in the PR itself to be able to review it *before* merging to develop happens.
This feature is yet to be implemented by atlassian dev team. I have added reasons why this feature would be ideal in two (of many more) scenarios to the aforementioned feature request:
There's a feature request open at https://bitbucket.org/site/master/issues/13867/run-pipeline-on-the-result-of-the-pull that I would love to get your feedback on.
We use bitbucket site/master issues to track customer requests and feedback on improvements we can make to Pipelines.