I have tests running on the `default` pipeline, so it runs both on pull request branches and our `master` branch. It's fine most of the time. However, when I fast-forward merge a pull request, the exact same code gets tested twice, once from the pull request and again on `master`. Same thing happens when I create a branch from `master`. I don't want to waste my pipeline minutes. Is there a way to prevent that?
Fast-forward merge scenario
New feature branch scenario
From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.
Start Learning