From 86701a188f1dd3febd1e8dd4b6c5e8fe8e3ee704 Mon Sep 17 00:00:00 2001 From: Sil Veltman Date: Fri, 16 Oct 2026 07:55:35 +0200 Subject: [PATCH] Allow callers to select Check and Ready runners --- .github/workflows/check.yml | 5 ++++- .github/workflows/ready.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d74a649..ddcbac4 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -3,6 +3,9 @@ name: Check on: workflow_call: inputs: + runner: + type: string + default: ubuntu-latest command: type: string default: vp run check @@ -20,7 +23,7 @@ jobs: check: name: Check if: ${{ !github.event.pull_request.draft }} - runs-on: ubuntu-latest + runs-on: ${{ inputs.runner }} timeout-minutes: 15 env: pnpm_config_ignore_scripts: "true" diff --git a/.github/workflows/ready.yml b/.github/workflows/ready.yml index d708ee8..8513e71 100644 --- a/.github/workflows/ready.yml +++ b/.github/workflows/ready.yml @@ -3,6 +3,9 @@ name: Ready on: workflow_call: inputs: + runner: + type: string + default: ubuntu-latest netlify-checks: type: string default: "[]" @@ -30,7 +33,7 @@ concurrency: jobs: ready: name: Ready - runs-on: ubuntu-latest + runs-on: ${{ inputs.runner }} timeout-minutes: 3 steps: - name: Create merge token for repositories with release workflows