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

[bug]: Fix hostname used with gh CLI for github.com #1919

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

divergentdave
Copy link
Contributor

Resolves #1905


Before the change?

  • The new feature to use an authentication token from gh auth token does not work with repositories on github.com.

After the change?

  • This PR corrects the --hostname value passed to the subcommand in this case.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

  • Yes
  • No

This implements the revised fix I suggested in #1905 (comment).

@nickfloyd nickfloyd added the Type: Bug Something isn't working as documented label Sep 25, 2023
Copy link
Contributor

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

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

@divergentdave thank you for getting this wrapped up for us. ❤️

@nickfloyd nickfloyd changed the title Fix hostname used with gh CLI for github.com [bug]: Fix hostname used with gh CLI for github.com Sep 26, 2023
@nickfloyd nickfloyd merged commit c917477 into integrations:main Sep 26, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Incorrect default hostname for tokenFromGhCli() function
2 participants