diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index e9e0d340b..27f4c07cf 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -34,7 +34,7 @@ jobs: key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} restore-keys: pre-commit - - run: uv run --frozen pre-commit run --show-diff-on-failure --color=always --all-files ${{ github.event.pull_request.base.sha || github.event.before }} --origin ${{ github.event.pull_request.head.sha || github.event.after }} + - run: uv run --frozen pre-commit run --show-diff-on-failure --color=always --all-files --source ${{ github.event.pull_request.base.sha || github.event.before }} --origin ${{ github.event.pull_request.head.sha || github.event.after }} shell: bash env: SKIP: disallowed-words-check,circleci_validate