From 3d776f9e0fbfab2fec30d5a889a61e4751027fce Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 21 Jun 2026 22:27:06 +1000 Subject: [PATCH] feat: add pre-commit to build jobs ensure pre-commit is run by woodpecker in ci --- .woodpecker/pre-commit.yaml | 18 ++++++++++++++++++ 1 file changed, 18 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..d57b508 --- /dev/null +++ b/.woodpecker/pre-commit.yaml @@ -0,0 +1,18 @@ +when: + - event: pull_request + +steps: + - name: pre-commit + image: git.unkin.net/unkin/almalinux9-gobuilder:20260606 + commands: + - uvx pre-commit run --all-files + backend_options: + kubernetes: + serviceAccountName: default + resources: + requests: + memory: 512Mi + cpu: 1 + limits: + memory: 2Gi + cpu: 2