From 258d4b17d1a1912b14ea00739e7e51f118627835 Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Mon, 20 Jul 2026 17:17:16 +0200 Subject: [PATCH] ci: make runner labels configurable via CI_RUNNERS variable Switch all workflow jobs from a hardcoded ubuntu-latest to ${{ vars.CI_RUNNERS || 'ubuntu-latest' }}, so runner sizing can be changed via the CI_RUNNERS organization/repository variable without editing workflow files. Signed-off-by: Marco Nenciarini --- .github/workflows/ci.yml | 2 +- .github/workflows/publish-docs.yml | 4 ++-- .github/workflows/release-please.yml | 2 +- .github/workflows/release-publish.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d8c09c..bba773c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ permissions: read-all jobs: ci: - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_RUNNERS || 'ubuntu-latest' }} permissions: packages: write contents: write diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 4c39a66..c01dee1 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -20,7 +20,7 @@ permissions: read-all jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_RUNNERS || 'ubuntu-latest' }} permissions: contents: read steps: @@ -60,7 +60,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} needs: build - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_RUNNERS || 'ubuntu-latest' }} steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e980806..959ed72 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -9,7 +9,7 @@ permissions: read-all jobs: release-please: - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_RUNNERS || 'ubuntu-latest' }} permissions: contents: write pull-requests: write diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index f1a26b3..2390dc9 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -7,7 +7,7 @@ permissions: read-all jobs: release-publish-artifacts: - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_RUNNERS || 'ubuntu-latest' }} permissions: packages: write contents: write