test-coverage check fails after updating with `use_github_action()`

I've just updated GitHub actions for a package with use_github_action(). My test-coverage check is now failing.

Details here:

Any idea how to fix it?

I see use_github_action() removed the branches: [main, master] line under the pull_request option (see here). Not sure if it's related to the problem though.

Do you have a CODECOV_TOKEN secret for the repo? That is needed to upload coverage reports. See the docs at actions/examples at v2-branch · r-lib/actions · GitHub

1 Like

Thank you, that solved my issue.

Out of curiosity, unless I use an organization I'll have to add this token to each of my package repos, right?

As far as I know, yes.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.