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

enforce baseUrl to api.github.com if action used on GHES #192

Merged
merged 3 commits into from Jan 28, 2023

Conversation

crazy-max
Copy link
Member

follow-up #191 (comment)

We need to enforce the baseUrl in the Octokit client for GHES users otherwise the it will talk to the GHES API and not api.github.com

Also adds extra commit with a note in the README for GHES users and handle the github_token input correctly for them.

Thanks for the feedback @rmg!

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Copy link
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

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

LGTM

@rmg lgty?

Copy link

@rmg rmg left a comment

Choose a reason for hiding this comment

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

Yeah, I think that should do it!

@crazy-max
Copy link
Member Author

Thanks again @rmg!

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.

None yet

3 participants