From 1213a7738f91c255b0efa0ce569c441273361e53 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 28 Feb 2026 18:05:42 +1100 Subject: [PATCH] feat: add pre-commit check in ci - add a ci workflow to verify pre-commit passes --- .woodpecker/pre-commit.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .woodpecker/pre-commit.yaml diff --git a/.woodpecker/pre-commit.yaml b/.woodpecker/pre-commit.yaml new file mode 100644 index 0000000..4bde44d --- /dev/null +++ b/.woodpecker/pre-commit.yaml @@ -0,0 +1,9 @@ +when: + - event: pull_request + +steps: + - name: pre-commit + image: git.unkin.net/unkin/almalinux9-base:latest + commands: + - dnf install uv opentofu terragrunt tflint -y + - uvx pre-commit run --all-files