diff --git a/.github/workflows/django-linter.yml b/.github/workflows/django-linter.yml index 395ec3b..e1683f8 100644 --- a/.github/workflows/django-linter.yml +++ b/.github/workflows/django-linter.yml @@ -29,8 +29,7 @@ jobs: python-version: 3.11.4 check-latest: true - # Run all pre-commit hooks on all the files. - # Getting only staged files can be tricky in case a new PR is opened - # since the action is run on a branch in detached head state - name: Install and Run Pre-commit uses: pre-commit/action@v3.0.0 + with: + config: .pre-commit-config.yaml