Skip to content

Conversation

Tahsin-travis-ci
Copy link
Contributor

@Tahsin-travis-ci Tahsin-travis-ci commented Sep 14, 2020

Currently, with --github-token=x gives "Faraday::UnauthorizedError: the server responded with status 401" error.
I found that travis cli with password always deletes the token. i.e.
GitHub API: DELETE /authorizations/483247674
so, with --list-github-token, we should not remove the github token.
fixes for:

travis login --list-github-token
travis login --github-token=x to login

@Tahsin-travis-ci Tahsin-travis-ci merged commit f0355f2 into master Sep 14, 2020
@Tahsin-travis-ci Tahsin-travis-ci deleted the th_fix_list_gihub_token branch September 14, 2020 13:42
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

Successfully merging this pull request may close these issues.

4 participants