diff options
| author | Peter Murray <681306+peter-murray@users.noreply.github.com> | 2022-09-26 17:34:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-26 12:34:52 -0400 |
| commit | e33cfa574212e8722034156757f8383979e76cb9 (patch) | |
| tree | 0c9284b63ea98535c6a10b080a477136102a6856 /src/git-source-settings.ts | |
| parent | fa9591092fd91f59e3dbebbb92da3e2787a0bc03 (diff) | |
Inject GitHub host to be able to clone from another GitHub instance (#922)
* Adding the ability to specify the GitHub Server URL and allowing for it to differ from the Actions workflow host
* Adding tests for injecting the GitHub URL
* Addressing code review comments for PR #922
Diffstat (limited to 'src/git-source-settings.ts')
| -rw-r--r-- | src/git-source-settings.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/git-source-settings.ts b/src/git-source-settings.ts index 6fa3960..2da5622 100644 --- a/src/git-source-settings.ts +++ b/src/git-source-settings.ts @@ -83,4 +83,9 @@ export interface IGitSourceSettings { * Indicates whether to add repositoryPath as safe.directory in git global config */ setSafeDirectory: boolean + + /** + * User override on the GitHub Server/Host URL that hosts the repository to be cloned + */ + githubServerUrl: string | undefined } |
