From 76ac2377f63405aa623cded5f443adea954a57b1 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Mon, 24 Nov 2025 11:32:48 -0500 Subject: [PATCH] fix: run-id reference in bundle-compare workflow (#8365) * fix: run-id reference in bundle-compare workflow Signed-off-by: Aviv Keller * while im here might as well make this robust :-) Signed-off-by: Aviv Keller --------- Signed-off-by: Aviv Keller --- .github/workflows/bundle-compare.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundle-compare.yml b/.github/workflows/bundle-compare.yml index b32a848e9882a..12e0defd7b70c 100644 --- a/.github/workflows/bundle-compare.yml +++ b/.github/workflows/bundle-compare.yml @@ -15,6 +15,7 @@ jobs: compare: name: Compare Bundle Stats runs-on: ubuntu-latest + if: github.event.workflow_run.event == 'pull_request' steps: - name: Harden Runner @@ -30,7 +31,7 @@ jobs: with: name: webpack-stats path: head-stats - run-id: ${{ github.event.workflow_run.workflow_id }} + run-id: ${{ github.event.workflow_run.id }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: Get Run ID from BASE