coveralls-python-action
coveralls-python-action copied to clipboard
Invalid github token
I got an error "Invalid github token", tried regenerating the token on coveralls.io, copy/pasted it into my github secrets, and I get the same error. The secret is being found, so I'm fairly sure it's not a typo.
You can see the error here: https://github.com/toonarmycaptain/dionysus/runs/1767326019?check_suite_focus=true
I'm probably doing something wrong, any suggestions?
I tried using github-token: ${{ github.token }}
for the toke instead of github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
, as I found this as a solution in a couple of other tools, to no avail. The error changes to 'AssertionError: {'error': 'No build matching CI build number 511396654 found'}'
This was solved by setting: env: GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} # Set token for Coveralls
and running coveralls
after each test run in the test matrix.