mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -05:00
feat: add support to github.server_url
Striping the http[s] from the $GITHUB_DOMAIN will allow the users to pass github.server_url to the action https://docs.github.com/en/actions/learn-github-actions/contexts
This commit is contained in:
parent
516b3f81b1
commit
c4f48873a4
1 changed files with 2 additions and 0 deletions
|
@ -654,6 +654,8 @@ CallStatusAPI() {
|
|||
|
||||
debug "URL: ${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}"
|
||||
|
||||
GITHUB_DOMAIN=$(echo $GITHUB_DOMAIN | sed 's~http[s]*://~~g')
|
||||
|
||||
##############################################
|
||||
# Call the status API to create status check #
|
||||
##############################################
|
||||
|
|
Loading…
Reference in a new issue