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

Supports GitHub Enterprise Server environment #10

Merged
merged 1 commit into from
Dec 17, 2023

Conversation

h-r-k-matsumoto
Copy link
Contributor

Description

Getting baseURL of Octokit from environment variables to support GitHub Enterprise Server

Related Issue(s)

Nothing

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Other (please specify)

How Has This Been Tested?

I've confirmed that this change is working with both of Github.com and GitHub Enterprise Server.

I'm sharing the result of GitHub.com as below.
https://github.com/h-r-k-matsumoto/lens-extension-menu/actions/runs/7237147422

But due to a company policies I work at, I'm afraid that I can't share a result of GitHub Enterprise Server.

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My changes generate no new warnings.
  • I have updated the documentation accordingly.

Additional Information

With GitHub Enterprise Server, the variables of GITHUB_API_URL is set automatically.
So I think it's okay not to update documentation.

And I've confirmed that current test cases are all passed.

@AlexSim93 AlexSim93 merged commit 3d834f8 into AlexSim93:master Dec 17, 2023
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.

2 participants