Codecov unexpectedly requires token for public repo

Description

Codecov unexpectedly requires a token for a public GitHub repo.

Commit SHAs

Please include the commit SHA(s)

742ab168beef32fd1945b867ee78a25c24456ec0

Repository

CI/CD or Build URL

https://github.com/jazzband/pip-tools/runs/1484433277#step:9:42

Uploader

Codecov GitHub Action codecov/codecov-action@v1.0.6

Codecov Output

2020-12-02T05:32:53.5671384Z [command]bash codecov.sh -f ./coverage.xml -n Linux-3.9-latest -F 
2020-12-02T05:32:53.5764065Z 
2020-12-02T05:32:53.5764972Z   _____          _
2020-12-02T05:32:53.5765554Z  / ____|        | |
2020-12-02T05:32:53.5766511Z | |     ___   __| | ___  ___ _____   __
2020-12-02T05:32:53.5767109Z | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
2020-12-02T05:32:53.5767780Z | |___| (_) | (_| |  __/ (_| (_) \ V /
2020-12-02T05:32:53.5768375Z  \_____\___/ \__,_|\___|\___\___/ \_/
2020-12-02T05:32:53.5769601Z                               Bash-20201130-cc6d3fe
2020-12-02T05:32:53.5770170Z 
2020-12-02T05:32:53.5770805Z 
2020-12-02T05:32:53.5775744Z e[0;31mx>e[0m No CI provider detected.
2020-12-02T05:32:53.5777202Z     Testing inside Docker? e[0;36mhttp://docs.codecov.io/docs/testing-with-dockere[0m
2020-12-02T05:32:53.5778951Z     Testing with Tox? e[0;36mhttps://docs.codecov.io/docs/python#section-testing-with-toxe[0m
2020-12-02T05:32:53.5780248Z     e[0;90mproject root:e[0m .
2020-12-02T05:32:53.5943977Z     e[0;32mYaml not found, that's ok! Learn more ate[0m e[0;36mhttp://docs.codecov.io/docs/codecov-yamle[0m
2020-12-02T05:32:53.6308627Z     e[0;90m->e[0m Found 1 reports
2020-12-02T05:32:53.6311659Z e[0;90m==>e[0m Detecting git/mercurial file structure
2020-12-02T05:32:53.6378071Z e[0;90m==>e[0m Reading reports
2020-12-02T05:32:53.6437647Z     e[0;32m+e[0m ./coverage.xml e[0;90mbytes=127840e[0m
2020-12-02T05:32:53.6465243Z e[0;90m==>e[0m Appending adjustments
2020-12-02T05:32:53.6466302Z     e[0;36mhttps://docs.codecov.io/docs/fixing-reportse[0m
2020-12-02T05:32:53.6557335Z     e[0;90m->e[0m No adjustments found
2020-12-02T05:32:53.6558306Z e[0;90m==>e[0m Gzipping contents
2020-12-02T05:32:53.6680993Z         8.0K	/tmp/codecov.nzzxKc.gz
2020-12-02T05:32:53.6702632Z e[0;90m==>e[0m Uploading reports
2020-12-02T05:32:53.6703416Z     e[0;90murl:e[0m https://codecov.io
2020-12-02T05:32:53.6705050Z     e[0;90mquery:e[0m branch=master&commit=742ab168beef32fd1945b867ee78a25c24456ec0&build=&build_url=&name=Linux-3.9-latest&tag=&slug=jazzband%2Fpip-tools&service=&flags=&pr=&job=&cmd_args=f,n,F
2020-12-02T05:32:53.6744506Z e[0;90m->e[0m  Pinging Codecov
2020-12-02T05:32:53.6746856Z https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=742ab168beef32fd1945b867ee78a25c24456ec0&build=&build_url=&name=Linux-3.9-latest&tag=&slug=jazzband%2Fpip-tools&service=&flags=&pr=&job=&cmd_args=f,n,F
2020-12-02T05:32:53.7795313Z e[0;31mHTTP 400
2020-12-02T05:32:53.7796791Z Please provide the repository token to upload reports via `-t :repository-token`
2020-12-02T05:32:53.7797635Z 
2020-12-02T05:32:53.7798314Z 400e[0m

Expected Results

Auth token should not be required

Actual Results

Please provide the repository token to upload reports via `-t :repository-token`

Additional Information

1 Like

Please update to the latest version of the action.

1 Like