From e9bec1e0e5034fafc09a015b9a32997c75697305 Mon Sep 17 00:00:00 2001 From: Zeke Foppa Date: Mon, 4 May 2026 10:24:21 -0700 Subject: [PATCH] [bfops/fix-internal-tests-master]: CI - Try to fix Internal Tests on master --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69bfe7f0e76..623c3151ff9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -889,6 +889,10 @@ jobs: const publicRef = (context.eventName === 'pull_request') ? context.payload.pull_request.head.ref : context.sha; const publicPrNumber = context.payload.pull_request?.number ?? context.payload.inputs?.pr_number; const preDispatch = new Date().toISOString(); + const inputs = { public_ref: publicRef }; + if (publicPrNumber) { + inputs.public_pr_number = String(publicPrNumber); + } // Dispatch the workflow in the target repository await github.rest.actions.createWorkflowDispatch({ @@ -896,7 +900,7 @@ jobs: repo: targetRepo, workflow_id: workflowId, ref: targetRef, - inputs: { public_ref: publicRef, public_pr_number: String(publicPrNumber) } + inputs, }); const sleep = (ms) => new Promise(r => setTimeout(r, ms));