From e59798bfe0b41900a3e27f8247bd12dd7d5eefe4 Mon Sep 17 00:00:00 2001 From: MustafaMunir123 Date: Thu, 23 Nov 2023 08:51:00 +0500 Subject: [PATCH] chore: update pre-commit ci --- .github/workflows/django-linter.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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