mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 12:42:09 -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