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
| @@ -30,10 +30,10 @@ | ||
| 30 | 30 | |
| 31 | 31 | echo "Processing issue #${ISSUE_NUMBER}" |
| 32 | 32 | |
| 33 | - # Trigger internal workflow via workflow_dispatch | |
| 34 | - gh workflow run ${TARGET_WORKFLOW} \ | |
| 35 | - --repo ${TARGET_REPO} \ | |
| 36 | - -f "issue_url=${ISSUE_URL}" 2>/dev/null || { | |
| 33 | + # Trigger internal workflow via repository_dispatch | |
| 34 | + gh api repos/${TARGET_REPO}/dispatches \ | |
| 35 | + -f event_type=issue_opened \ | |
| 36 | + -f client_payload[issue_url]="${ISSUE_URL}"|| { | |
| 37 | 37 | echo "Issue notification sent" |
| 38 | 38 | exit 0 |
| 39 | 39 | } |