From 1e293995de5decf861113f0f9458fd3bb15317f8 Mon Sep 17 00:00:00 2001 From: Timofei Larkin Date: Fri, 6 Feb 2026 18:38:50 +0300 Subject: [PATCH] [ci] Choose runner conditional on label ## What this PR does This patch adds a conditional for running on a statically defined VM the maintainers have SSH access to if the pull request has a `debug` label. This is useful for debugging failing workflows when the diagnostic info from the pipeline is insufficient. ### Release note ```release-note [ci] Run builds on a static VM with SSH access if the PR has a debug label. ``` Signed-off-by: Timofei Larkin --- .github/workflows/pull-requests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml index 347bfd30..73efc4b6 100644 --- a/.github/workflows/pull-requests.yaml +++ b/.github/workflows/pull-requests.yaml @@ -153,7 +153,7 @@ jobs: e2e: name: "E2E Tests" - runs-on: [oracle-vm-24cpu-96gb-x86-64] + runs-on: ${{ contains(github.event.pull_request.labels.*.name, 'debug') && 'self-hosted' || 'oracle-vm-24cpu-96gb-x86-64' }} #runs-on: [oracle-vm-32cpu-128gb-x86-64] permissions: contents: read