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
[x] 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)
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
Checklist