async pipeline
parent
36d7cf9778
commit
31f273d662
|
|
@ -83,6 +83,10 @@ inputs:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
description: '[CloudRunner] Github private token to pull from github'
|
description: '[CloudRunner] Github private token to pull from github'
|
||||||
|
githubOwner:
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
description: '[CloudRunner] GitHub owner name or organization/team name'
|
||||||
chownFilesTo:
|
chownFilesTo:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
|
|
||||||
|
|
@ -723,10 +723,10 @@ class CloudRunnerOptions {
|
||||||
return CloudRunnerOptions.getInput('githubChecks') || false;
|
return CloudRunnerOptions.getInput('githubChecks') || false;
|
||||||
}
|
}
|
||||||
static get githubOwner() {
|
static get githubOwner() {
|
||||||
return CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
|
return CloudRunnerOptions.getInput('githubOwner') || CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
|
||||||
}
|
}
|
||||||
static get githubRepoName() {
|
static get githubRepoName() {
|
||||||
return CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
|
return CloudRunnerOptions.getInput('githubRepoName') || CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
|
||||||
}
|
}
|
||||||
// ### ### ###
|
// ### ### ###
|
||||||
// Git syncronization parameters
|
// Git syncronization parameters
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -64,11 +64,11 @@ class CloudRunnerOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
static get githubOwner() {
|
static get githubOwner() {
|
||||||
return CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
|
return CloudRunnerOptions.getInput('githubOwner') || CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static get githubRepoName() {
|
static get githubRepoName() {
|
||||||
return CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
|
return CloudRunnerOptions.getInput('githubRepoName') || CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ### ### ###
|
// ### ### ###
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue