diff --git a/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/gh-runners.ts b/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/gh-runners.ts index 81275143ba..cd352e8873 100644 --- a/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/gh-runners.ts +++ b/terraform-aws-github-runner/modules/runners/lambdas/runners/src/scale-runners/gh-runners.ts @@ -306,7 +306,7 @@ export async function getRunnerTypes( metrics: Metrics, filepath = Config.Instance.scaleConfigRepoPath, ): Promise> { - const alphaNumericStr = /^[a-zA-Z0-9.]+$/; + const alphaNumericStr = /^[a-zA-Z0-9.-]+$/; return await redisCached('ghRunners', `getRunnerTypes-${repo.owner}.${repo.repo}`, 10 * 60, 0.5, async () => { let status = 'noRun';