Support case-insensitive value providers

This commit is contained in:
Josh Gross
2023-03-08 15:52:33 -05:00
parent 43bc333064
commit e557ccc567
4 changed files with 68 additions and 2 deletions
+2
View File
@@ -20,10 +20,12 @@ export function valueProviders(
return {
"job-environment": {
kind: ValueProviderKind.AllowedValues,
caseInsensitive: true,
get: (_: WorkflowContext) => getEnvironments(client, cache, repo.owner, repo.name)
},
"job-environment-name": {
kind: ValueProviderKind.AllowedValues,
caseInsensitive: true,
get: (_: WorkflowContext) => getEnvironments(client, cache, repo.owner, repo.name)
},
"runs-on": {