diff --git a/.github/workflows/pre_commit.yaml b/.github/workflows/pre_commit.yaml index d8e1836d..44d8cb20 100644 --- a/.github/workflows/pre_commit.yaml +++ b/.github/workflows/pre_commit.yaml @@ -29,7 +29,6 @@ jobs: # not committing to such branches. if: | ( - github.event_name == 'push' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' ) @@ -58,7 +57,9 @@ jobs: tool: just@${{ inputs.JUST_VERSION }} - name: pre-commit install - run: python -m pip install pre-commit + run: | + python -m pip install pre-commit + pre-commit install - uses: actions/cache@v4 with: