From a37c29bb01fb8384cfebd325fc72bf24cc749947 Mon Sep 17 00:00:00 2001 From: ryan-crabbe-berri Date: Thu, 20 Aug 2026 12:04:45 -0700 Subject: [PATCH] fix(ci): read the pull request base ref from env, not a template expansion --- .github/workflows/mutation-test-pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mutation-test-pr.yml b/.github/workflows/mutation-test-pr.yml index b7ae605ccd6..72df97537c7 100644 --- a/.github/workflows/mutation-test-pr.yml +++ b/.github/workflows/mutation-test-pr.yml @@ -46,9 +46,11 @@ jobs: - name: Scope the run to the diff id: scope + env: + BASE_REF: ${{ github.event.pull_request.base.ref }} run: | python scripts/mutation_diff_scope.py \ - --base "origin/${{ github.event.pull_request.base.ref }}" \ + --base "origin/$BASE_REF" \ --write-pyproject | tee mutmut-scope.log - name: Set up uv