chore(claude): add merge skill with review gate
/merge takes changes from commit to merged PR in one run. A PreToolUse hook refuses any merge without a passing review comment for the PR's current head commit, so the review can't be skipped or go stale after new commits.
This commit is contained in:
1 parent
2c3d58d678
commit
737a3a29ec
4 files changed
+168
-2
No files matched your search
@@ -60,7 +60,6 @@
|
||||
"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 *)"
|
||||
@@ -95,6 +94,10 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/guard-live-infra.sh"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/guard-merge.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user