chore(claude): make the merge gate fail closed
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 10s

The first review found ways around the hook: unexpected errors exited with
non-blocking codes, unusual spellings of the merge path skipped it, and an
older pass outlived a newer fail. The ask rule for merges is back as a second
layer, so merging outside /merge is enforced, not just instructed.
This commit is contained in:
kasun committed 2026-11-27 03:39:19 +01:00
1 parent 737a3a29ec
commit f45fb7421a
5 files changed
+73 -39

No files matched your search

+1
View File
@@ -60,6 +60,7 @@
"Bash(pct *)",
"Bash(qm *)",
"Bash(curl *)",
"Bash(.claude/scripts/gitea.sh POST */merge*)",
"Bash(.claude/scripts/gitea.sh PATCH *)",
"Bash(.claude/scripts/gitea.sh PUT *)",
"Bash(.claude/scripts/gitea.sh DELETE *)"