feat: add forbidden_reason arg to prefix_rule() in *.rules

This commit is contained in:
Michael Bolin
2026-01-05 12:18:46 -08:00
parent 1d8e2b4da8
commit 071b0cbeac
10 changed files with 300 additions and 24 deletions
@@ -4,6 +4,7 @@
prefix_rule(
pattern = ["git", "reset", "--hard"],
decision = "forbidden",
justification = "destructive operation",
match = [
["git", "reset", "--hard"],
],