diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index e74924cc4..23d1f89a1 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,9 +13,13 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x + + - name: foo + run: git fetch origin + - uses: pre-commit/action@v3.0.1 with: # extra_args: --from-ref origin/HEAD --to-ref HEAD # extra_args: --from-ref main --to-ref HEAD # extra_args: --from-ref main - extra_args: --from-ref origin/main --to-ref HEAD + extra_args: --from-ref origin/HEAD --to-ref HEAD