Any way to automatically cancel redundant builds on the default branch?

We use a development branch as our default branch, and when PRs get merged into this branch they get deployed onto a test environment. However, as the “Auto-cancel redundant builds” options does nothing on the default branch this triggers duplicate builds to get deployed, which often times results in the wrong version being deployed if we merge multiple PRs at the same time, and do not manually cancel the builds as we go. Is there any way to work around this without changing out default branch?

2 Likes

Hi @JakeBooher,

I just added a suggested workaround (under our Support Solutions category) that will allow you to automatically cancel redundant builds on the project’s default branch.

You can find it here.

Let me know if this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.