We were unable to update the default branch for this repo

Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.


A repository that was modified a long time ago changed its default branch from master to main. After that, the link must specify the main branch (including badge), otherwise the content cannot be viewed.
When I tried to change the branch in settings, it prompted me: “We were unable to update the default branch for this repo.”



@qwq I have gone ahead and changed the branch (to main) for you. I’m not sure why you were getting that error message, but I don’t see anything weird on our end.

Thanks! Can you help me process this again? Maybe there’s something wrong with my account?