From a2011931bbac34484c584c07bc700aa0d4134abc Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 16 Jul 2026 22:13:06 +0300 Subject: [PATCH] Reset bundle fallback to exact base commit --- .github/workflows/pull-request-commit.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-commit.yml b/.github/workflows/pull-request-commit.yml index 914038d1c4..5f568dde78 100644 --- a/.github/workflows/pull-request-commit.yml +++ b/.github/workflows/pull-request-commit.yml @@ -118,8 +118,10 @@ jobs: - name: Restore to base commit if: ${{ !steps.get-base-stats.outputs.cache-hit }} + env: + BASE_COMMIT: ${{ steps.base-commit.outputs.base-commit }} run: | - git reset HEAD~ + git reset "$BASE_COMMIT" git restore . - name: 🔦 Generate stats file from base commit