Revert "12"

This reverts commit 2d4eee2950.
This commit is contained in:
Your Name
2026-08-06 04:52:21 +00:00
parent 2d4eee2950
commit 3a217f0dd0
81 changed files with 10766 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "input=$(cat); cmd=$(echo \"$input\" | python3 -c \"import sys,json; d=json.load(sys.stdin); print(d.get('command',''))\" 2>/dev/null || echo ''); case \"$cmd\" in *'git push'*' master '*|*'git push'*' main '*|*'git push'*' develop '*|*'git push'*':master'*|*'git push'*':main'*|*'git push'*':develop'*) echo '{\"decision\":\"block\",\"reason\":\"Push в master/main/develop запрещён. Используй feature/MBL-<N> или hotfix/MBL-<N> и Merge Request.\"}' ;; esac"
}
]
}
]
}
}