Revert "feat: add repo_url_override input to bypass GITHUB_SERVER_URL IP issue"
This reverts commit 69396e75f7.
This commit is contained in:
parent
69396e75f7
commit
c5e1c62a73
|
|
@ -15,10 +15,6 @@ inputs:
|
|||
description: 'Optional release note for this version'
|
||||
required: false
|
||||
default: ''
|
||||
repo_url_override:
|
||||
description: 'Override the repo URL (defaults to GITHUB_SERVER_URL/repo)'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
|
@ -30,7 +26,6 @@ runs:
|
|||
INPUT_API_BASE: ${{ inputs.api_base }}
|
||||
INPUT_SKILL_SLUG: ${{ inputs.skill_slug }}
|
||||
INPUT_RELEASE_NOTE: ${{ inputs.release_note }}
|
||||
INPUT_REPO_URL_OVERRIDE: ${{ inputs.repo_url_override }}
|
||||
SKILL_SUBPATH: ${{ env.SKILL_SUBPATH }}
|
||||
SKILL_DOC_PATH: ${{ env.SKILL_DOC_PATH }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
|
|
@ -52,7 +47,6 @@ runs:
|
|||
ref_name = os.environ['GITHUB_REF_NAME']
|
||||
sha = os.environ['GITHUB_SHA']
|
||||
server_url = os.environ['GITHUB_SERVER_URL'].rstrip('/')
|
||||
repo_override = os.environ.get('INPUT_REPO_URL_OVERRIDE', '').strip()
|
||||
|
||||
base_dir = subpath if subpath else '.'
|
||||
|
||||
|
|
@ -102,7 +96,7 @@ runs:
|
|||
'version': ref_name,
|
||||
'release_note': release_note,
|
||||
'source_type': 'git_ci',
|
||||
'repo_url': repo_override or f'{server_url}/{repo}.git',
|
||||
'repo_url': f'{server_url}/{repo}.git',
|
||||
'repo_subpath': subpath,
|
||||
'git_ref': ref_name,
|
||||
'commit_sha': sha,
|
||||
|
|
|
|||
Loading…
Reference in New Issue