Redundant builds are canceled on the default branch

According to the documentation in the project settings

Auto-cancel redundant builds

With the exception of your default branch, we will automatically cancel any queued or running builds on a branch when a newer build is triggered on that same branch. Scheduled workflows and re-runs are not auto-canceled.

However, CircleCI is currently canceling builds on our default branch (next):

Does CircleCI have a separate setting for the default branch or did something go wrong when syncing the default branch from GitHub?

We have pipelines enabled. Our CircleCI config when that build was canceled:

Hello @eps1lon! Thanks for providing a build link so I could take a closer look. In viewing the canceled build, I can confirm I see the trigger was for the branch next, which you noted is your default branch in GitHub. However in checking the default branch for mui-org/material-ui/ via the API ( I see default_branch: master, leading me to believe CircleCI did not catch next as the default branch.

Was the default branch recently changed? In cases where this webhook gets missed or dropped, we suggest following the steps in this Support Article: VCS Default Branch isn’t Reflected on CircleCI.

Could you try out these steps and let us know if it works for you?

1 Like