From c826f101039fbcccdb0d1b050ec8cd516d3e6243 Mon Sep 17 00:00:00 2001 From: Jake Walker Date: Mon, 11 Nov 2024 19:32:24 +0000 Subject: [PATCH] Add pre-commit workflow --- .github/workflows/pre-commit.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000..063ed6f --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,17 @@ +name: pre-commit +on: + pull_request: + push: + branches: + - main + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v3 + - name: pre-commit + uses: pre-commit/action@v3.0.1