From e68263837b54c2a62e2af1e6362c9a597dd8c84b Mon Sep 17 00:00:00 2001 From: Marek 'seqre' Grzelak Date: Wed, 10 Jul 2024 17:57:17 -0600 Subject: [PATCH] ci: remove pre-commit workflow and use ci alternative --- .github/workflows/pre-commit.yml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index 9a6a147..0000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Pre-commit checks - -on: - push: - pull_request: - -jobs: - pre-commit: - # Run on external PRs and pushes to branches on the repo - # This is to avoid double running on PRs from internal branches - if: - github.event_name == 'push' || github.event.pull_request.head.repo.full_name != - github.repository - - name: Lint checks - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Install python - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - - name: Check files - uses: pre-commit/action@v3.0.1