Skip to content

Commit

Permalink
Add - to alphaNum character set (#5381)
Browse files Browse the repository at this point in the history
  • Loading branch information
malfet authored Jun 28, 2024
1 parent ecff808 commit 6b5ea1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export async function getRunnerTypes(
metrics: Metrics,
filepath = Config.Instance.scaleConfigRepoPath,
): Promise<Map<string, RunnerType>> {
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';
Expand Down

0 comments on commit 6b5ea1d

Please sign in to comment.