Using the API I can create pull requests and I can merge through pull requests. For certain PRs I'd like to add [skip ci] to the commit message when merging.
Is it possible to set the commit message when merging through PRs so that I can add my own commit message?
I can add a message when using a merge_comit but not with fast_forward.
A fast forward merge won't create a merge commit, it will update the pointer of the destination branch to match the merged branch, when possible. So, there is no merge commit to add a message to.
If you want to use fast forward, one thing you can do is to have[skip ci] in the last commit of the source branch of the PR. This way, a Pipelines build won't run when you make the fast forward merge.
Please feel free to let me know if you have any questions.
Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events