Removing the branches option from our codecov.yml configuration to re-enable status checks on PRs.
For future reference:
After speaking with support, this option specifies which source branches will trigger status checks, not target branches.
For example, I assumed branches: [master] meant, “A PR from any branch into master will trigger codecov status checks”. However it really means “A PR from master into any other branch will trigger status checks”.
While I find this option sort of strange, since conventionally one wouldnt PR from master into any other branch, removing the branches config value from my patch and project sections completely fixed the issue.
Fix
Removing the
branches
option from ourcodecov.yml
configuration to re-enable status checks on PRs.For future reference:
After speaking with support, this option specifies which source branches will trigger status checks, not target branches.
For example, I assumed
branches: [master]
meant, “A PR from any branch into master will trigger codecov status checks”. However it really means “A PR from master into any other branch will trigger status checks”.While I find this option sort of strange, since conventionally one wouldnt PR from master into any other branch, removing the branches config value from my patch and project sections completely fixed the issue.