surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| @@ -29,12 +29,11 @@ | ||
| 29 | 29 | |
| 30 | 30 | echo "Processing issue #${ISSUE_NUMBER}" |
| 31 | 31 | |
| 32 | - # Trigger internal workflow via repository_dispatch | |
| 33 | - gh api repos/${TARGET_REPO}/dispatches \ | |
| 34 | - --method POST \ | |
| 35 | - -H "Accept: application/vnd.github.v3+json" \ | |
| 36 | - -f event_type="issue-opened" \ | |
| 37 | - -f "client_payload[issue_url]=${ISSUE_URL}" 2>/dev/null || { | |
| 32 | + # Trigger internal workflow via workflow_dispatch | |
| 33 | + gh workflow run issue-detective.yml \ | |
| 34 | + --repo ${TARGET_REPO} \ | |
| 35 | + -f "issue_url=${ISSUE_URL}" \ | |
| 36 | + -f "lookback_days=7" 2>/dev/null || { | |
| 38 | 37 | echo "Issue notification sent (dispatch may have failed due to permissions)" |
| 39 | 38 | exit 0 |
| 40 | 39 | } |