feat: add pre-commit workflow #10

Merged
unkinben merged 1 commits from benvin/pre-commit-workflow into main 2026-03-02 00:19:04 +11:00
4 changed files with 11 additions and 3 deletions

View File

@ -18,7 +18,6 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: no-commit-to-branch
- id: pretty-format-json
- id: trailing-whitespace

View File

@ -0,0 +1,9 @@
when:
- event: pull_request
steps:
- name: pre-commit
image: git.unkin.net/unkin/almalinux9-base:latest
commands:
- dnf install uv kustomize kubeconform helm -y
- uvx pre-commit run --all-files