Skip to content

Commit e4a2d9c

Browse files
author
forrestlinfeng
committed
ci: migrate ubuntu-latest -> ${{ fromJSON(vars.CI_LABEL_LINUX_X64) }}
Routes Linux CI jobs via the org-level CI_LABEL_LINUX_X64 variable so the runner pool can be swapped in one place (e.g. emergency fall-back to ubuntu-latest if the self-hosted runner is down). Default value of the variable: ["self-hosted","Linux","X64"] -> evomap-shoot. Skipped files where ubuntu-latest is load-bearing (glibc pin, cross-platform matrix, deliberately paid runner) -- those are addressed separately.
1 parent d52aadd commit e4a2d9c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
check:
17-
runs-on: ubuntu-latest
17+
runs-on: ${{ fromJSON(vars.CI_LABEL_LINUX_X64) }}
1818
steps:
1919
- uses: actions/checkout@v6
2020

.github/workflows/monitor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
monitor:
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ fromJSON(vars.CI_LABEL_LINUX_X64) }}
1515
steps:
1616
- uses: actions/checkout@v6
1717

.github/workflows/update-stars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
update:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ fromJSON(vars.CI_LABEL_LINUX_X64) }}
1414
steps:
1515
- uses: actions/checkout@v6
1616

0 commit comments

Comments
 (0)