From f1592e13faba11e423ed3f66e010e1e46811d123 Mon Sep 17 00:00:00 2001 From: Mike Almeloo Date: Sat, 10 Feb 2024 19:54:34 +0100 Subject: [PATCH] Add pre-commit workflow --- .github/workflows/pre-commit.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..3e7d519 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,24 @@ +name: Deploy documentation + +on: + workflow_dispatch: + push: + branches-ignore: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.10' + + - uses: pre-commit/action@v3.0.1 + + - uses: pre-commit-ci/lite-action@v1.0.2 + if: always()