From 04e95be634219b00a53510183378a11d322ff801 Mon Sep 17 00:00:00 2001 From: xnoto Date: Mon, 2 Mar 2026 23:51:13 -0700 Subject: [PATCH] chore: add branch protection and security hooks --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7fb642c..004ffc1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,6 +8,9 @@ repos: - id: check-yaml - id: check-json exclude: \.tmpl$ + - id: no-commit-to-branch + args: [--branch, main] + - id: detect-private-key - repo: https://github.com/commitizen-tools/commitizen rev: v4.1.0