Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid github token #14

Open
toonarmycaptain opened this issue Jan 26, 2021 · 2 comments
Open

Invalid github token #14

toonarmycaptain opened this issue Jan 26, 2021 · 2 comments

Comments

@toonarmycaptain
Copy link

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?

@toonarmycaptain
Copy link
Author

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'}'

@toonarmycaptain
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant