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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(github): Remove deprecated GitHub Basic Auth flow #352

Merged
merged 2 commits into from
Jan 3, 2021
Merged

fix(github): Remove deprecated GitHub Basic Auth flow #352

merged 2 commits into from
Jan 3, 2021

Conversation

cujarrett
Copy link
Contributor

What

  • 馃敡 Removes depracted GitHub Basic Auth flow for obtaining GitHub Personal Access token, moves to request this token from the user via CLI as the app does with things like Circleci OAuth 2 token.

Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you test locally if it's working?

message: 'What is your GitHub password?',
validate: _.ary(_.bind(validator.isLength, validator, _, 1), 1),
name: 'token',
message: 'What is your GitHub personal access token?',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change it to

Suggested change
message: 'What is your GitHub personal access token?',
message: 'Provide a GItHub Personal Access Token (create a token at https://github.com/settings/tokens/new?scopes=repo)',

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the message as requested @gr2m . I did some local testing to check that it could handle passed in gh-token as well as default to the answer supplied by the CLI prompt if needed. I didn't run the projejct end to end on a project of mine to test, should I do that? I wasn't sure how far to test.

Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gr2m gr2m merged commit 55a90c8 into semantic-release:master Jan 3, 2021
@semantic-release-bot
Copy link
Collaborator

馃帀 This PR is included in version 5.4.1 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

@cujarrett
Copy link
Contributor Author

Thanks @gr2m 馃帀

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

Successfully merging this pull request may close these issues.

None yet

3 participants