From 0afab8e098306a4e9443c3673d2b686b40baa445 Mon Sep 17 00:00:00 2001 From: ellieayla <1447600+me@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:44:49 -0500 Subject: [PATCH] Add pre-commit configuration to run kubeconform Contribute a pre-commit hook specification, so https://pre-commit.com/ can discover how to run kubeconform. --- .pre-commit-hooks.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..769c6f3 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,11 @@ +- id: kubeconform + name: kubeconform + description: Kubernetes manifest validation + entry: kubeconform + language: golang + pass_filenames: true + require_serial: true + minimum_pre_commit_version: "2.9.0" + stages: [pre-commit, pre-merge-commit, pre-push, manual] + exclude: ^\. # paths starting with . + types: ["yaml"]