It seems like codecov assumes that the main branch is called “master” for a newly added repo. I have to go into the settings for the repo and change it. Given all new repos on GitHub use “main” by default, it seems to me that codecov should use “main” by default for new repos too instead of “master”.
@mcarans the default branch is pulled from
GitHub when it is first connected to Codecov. If it is changed afterwards on GitHub, it will also need to be manually changed on Codecov.