From 6cf52a7bfccb804dbfcff4b25fbce1148ba65671 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Thu, 2 Oct 2025 11:29:31 -0500 Subject: [PATCH] Use `process.env.job` instead of hardcoding job name --- .github/workflows/test-e2e-fork.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-e2e-fork.yml b/.github/workflows/test-e2e-fork.yml index a55ed50..994b650 100644 --- a/.github/workflows/test-e2e-fork.yml +++ b/.github/workflows/test-e2e-fork.yml @@ -44,10 +44,10 @@ jobs: ref: process.env.ref }); - const check = checks.check_runs.filter(c => c.name === 'E2E Tests'); + const check = checks.check_runs.filter(c => c.name === process.env.job); if (check.length === 0) { - console.log('No check run found with name "E2E Tests"'); + console.log('No check run found with name "E2E Tests [reusable]"'); console.log('Available check runs:', checks.check_runs.map(c => c.name)); throw new Error('No matching check run found'); }