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

fix: correct commit url to support self-hosted ghe instance #653

Merged

Conversation

tvcsantos
Copy link
Contributor

@tvcsantos tvcsantos commented Jun 15, 2023

Motivation and Context

Currently on self-hosted instances the commit url in output is wrong and pointing to github.com. This PR addresses that problem by using the out-of-the-box available environment variable GITHUB_SERVER_URL in order to point to the correct URL.

Description

Change code to use the out-of-the-box available environment variable GITHUB_SERVER_URL in order to point to the correct commit URL.

How Has This Been Tested?

Screenshot(s)/recordings(s)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

@tvcsantos
Copy link
Contributor Author

If you need something extra tell me. Thanks for the project 💪

@mnaumanali94 mnaumanali94 merged commit 954fead into stoplightio:master Dec 20, 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