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

Feature Request - add support for GHE #24

Closed
anden-dev opened this issue Apr 18, 2023 · 0 comments · Fixed by #25
Closed

Feature Request - add support for GHE #24

anden-dev opened this issue Apr 18, 2023 · 0 comments · Fixed by #25
Assignees

Comments

@anden-dev
Copy link
Contributor

Hi,

I found that currently https://github.com is hard coded in the code base.

You can add support for GitHub Enterprise with something like this:

module.exports = require("process");

const githubServerUrl = process.env.GITHUB_SERVER_URL || 'https://github.com';

all supported GitHub versions should have this environment variable available https://docs.github.com/en/actions/learn-github-actions/variables

Currently, the links in the CHANGELOG to PRs or version compare, will 404 if you are on GHE.

Regards,
Andreas

@anden-dev anden-dev changed the title Feature Request - Support GHE Feature Request - add support for GHE Apr 18, 2023
@NGPixel NGPixel self-assigned this Apr 18, 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 a pull request may close this issue.

2 participants