Auto complete environment mappings
This commit is contained in:
@@ -25,6 +25,10 @@ export function valueProviders(
|
|||||||
kind: ValueProviderKind.AllowedValues,
|
kind: ValueProviderKind.AllowedValues,
|
||||||
get: (_: WorkflowContext) => getEnvironments(octokit, cache, repo.owner, repo.name)
|
get: (_: WorkflowContext) => getEnvironments(octokit, cache, repo.owner, repo.name)
|
||||||
},
|
},
|
||||||
|
"job-environment-name": {
|
||||||
|
kind: ValueProviderKind.AllowedValues,
|
||||||
|
get: (_: WorkflowContext) => getEnvironments(octokit, cache, repo.owner, repo.name)
|
||||||
|
},
|
||||||
"runs-on": {
|
"runs-on": {
|
||||||
kind: ValueProviderKind.SuggestedValues,
|
kind: ValueProviderKind.SuggestedValues,
|
||||||
get: (_: WorkflowContext) => getRunnerLabels(octokit, cache, repo.owner, repo.name)
|
get: (_: WorkflowContext) => getRunnerLabels(octokit, cache, repo.owner, repo.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user