-
Notifications
You must be signed in to change notification settings - Fork 369
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
fix: fix links error when using GitHub Enterprise #2350
base: main
Are you sure you want to change the base?
fix: fix links error when using GitHub Enterprise #2350
Conversation
@chingor13 please take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this and sorry for the long delay
src/util/github-server.ts
Outdated
@@ -0,0 +1 @@ | |||
export const DEFAULT_GITHUB_SERVER_URL = process.env.GITHUB_SERVER_URL || 'https://github.com'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would like any environment variable handling to happen at the entrypoint of running release-please and injecting the configuration into the classes rather than pulling from the environment in various spots.
In this case, can we configure/pull this from the GitHub
class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this should not happend in release-please but only in release-please-action while merging default...
@chingor13 updated. please review again NOTE: this has some duplication with the input changelog host and i am not sure if these two inputs changelog-host & server-url should be aliased |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
With this update, while release-please/release-please-actions runs in GitHub Enterprise actions/workflow, the links by default is correct.
Fixes #2351 🦕