|
|
@@ -1,6 +1,6 @@
|
|
|
{
|
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
|
- "description": "Command configuration for webhook events. Available variables: {{repo}}, {{full_repo}}, {{branch}}, {{pusher}}, {{event}}, {{commit}}, {{commit_msg}}, {{pr_number}}, {{pr_action}}, {{tag}}, {{ref_type}}, {{issue_number}}, {{issue_title}}, {{issue_action}}, {{issue_body}}, {{comment_body}}",
|
|
|
+ "description": "Command configuration for webhook events. Available variables: {{repo}}, {{full_repo}}, {{repo_owner}}, {{branch}}, {{pusher}}, {{event}}, {{commit}}, {{commit_msg}}, {{pr_number}}, {{pr_action}}, {{tag}}, {{ref_type}}, {{issue_number}}, {{issue_title}}, {{issue_action}}, {{issue_body}}, {{issue_assignee}}, {{comment_body}}",
|
|
|
"commands": {
|
|
|
"push": [
|
|
|
{
|
|
|
@@ -83,6 +83,16 @@
|
|
|
"timeout": 300000,
|
|
|
"filterBranch": null
|
|
|
},
|
|
|
+ {
|
|
|
+ "name": "claude-issue-handler",
|
|
|
+ "description": "Automatically handle issues assigned to Claude with Claude Code (requires handle-issue.sh script)",
|
|
|
+ "type": "shell",
|
|
|
+ "command": "/home/claude/agent-manager/scripts/handle-issue.sh",
|
|
|
+ "args": ["{{repo_owner}}", "{{repo}}", "{{pusher}}", "{{issue_number}}", "{{issue_title}}", "{{issue_body}}", "{{issue_action}}", "", "{{issue_assignee}}"],
|
|
|
+ "cwd": "~",
|
|
|
+ "timeout": 600000,
|
|
|
+ "filterBranch": null
|
|
|
+ },
|
|
|
{
|
|
|
"name": "triage-issue",
|
|
|
"description": "Auto-triage issues with a script",
|
|
|
@@ -115,6 +125,16 @@
|
|
|
"timeout": 300000,
|
|
|
"filterBranch": null
|
|
|
},
|
|
|
+ {
|
|
|
+ "name": "claude-comment-handler",
|
|
|
+ "description": "Automatically handle issue comments for issues assigned to Claude (requires handle-issue.sh script)",
|
|
|
+ "type": "shell",
|
|
|
+ "command": "/home/claude/agent-manager/scripts/handle-issue.sh",
|
|
|
+ "args": ["{{repo_owner}}", "{{repo}}", "{{pusher}}", "{{issue_number}}", "{{issue_title}}", "{{issue_body}}", "{{issue_action}}", "{{comment_body}}", "{{issue_assignee}}"],
|
|
|
+ "cwd": "~",
|
|
|
+ "timeout": 600000,
|
|
|
+ "filterBranch": null
|
|
|
+ },
|
|
|
{
|
|
|
"name": "check-comment-commands",
|
|
|
"description": "Check for special commands in comments",
|