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