From 2225393be47d3adb78a8feeb42865543a55d8574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Tue, 19 Sep 2023 20:01:36 +0200 Subject: [PATCH] Remove pre-commit GH action (#997) * pre-commit.ci: Disable autofixing PRs * Remove pre-commit action from GHA PR workflow (cherry picked from commit 08c4bb8ca02731a5be9768929988d137217d8c25) --- .github/workflows/pull_requests.yml | 3 --- .pre-commit-config.yaml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index a605deb9..0aed4807 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -38,9 +38,6 @@ jobs: pip install --compile --no-cache-dir pycurl pip install -U -r requirements.txt -r requirements-dev.txt --no-cache-dir - - name: Pre Commit Checks - uses: pre-commit/action@v2.0.0 - - name: Test Nailgun Coverage run: | make test-coverage diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a5de8f8..d3d80b96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,8 @@ # configuration for pre-commit git hooks +ci: + autofix_prs: false # disable autofixing PRs + repos: - repo: https://github.com/psf/black rev: 23.3.0