Skip to content

Commit 4b0f575

Browse files
committed
Replace floating occurrences of ubuntu-latest
1 parent 2d85855 commit 4b0f575

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pr-checks/sync.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ function generateJobMatrix(
463463
// is removed from `defaultTestVersions`.
464464
const requiresOlderRunnerImage: DefaultTestVersion = "stable-v2.20.7";
465465
if (
466-
runnerImage === "ubuntu-latest" &&
466+
runnerImage === DEFAULT_RUNNER_IMAGES["ubuntu"] &&
467467
version === requiresOlderRunnerImage
468468
) {
469469
matrix.push({ os: "ubuntu-24.04", version });
@@ -676,7 +676,7 @@ function generateValidationJob(
676676
"security-events": "read",
677677
},
678678
"timeout-minutes": 5,
679-
"runs-on": "ubuntu-latest",
679+
"runs-on": DEFAULT_RUNNER_IMAGES["ubuntu"],
680680
steps: specSteps,
681681
};
682682

0 commit comments

Comments
 (0)