Skip to content

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.

TypeScript

Update workflow trigger method

inigo542b57b9a4e9
diff --git a/.github/workflows/issue-notify.yml b/.github/workflows/issue-notify.yml
index d07d396d..de6b8c9b 100644
--- a/.github/workflows/issue-notify.yml
+++ b/.github/workflows/issue-notify.yml
@@ -29,12 +29,11 @@ jobs:
echo "Processing issue #${ISSUE_NUMBER}"
- # Trigger internal workflow via repository_dispatch
- gh api repos/${TARGET_REPO}/dispatches \
- --method POST \
- -H "Accept: application/vnd.github.v3+json" \
- -f event_type="issue-opened" \
- -f "client_payload[issue_url]=${ISSUE_URL}" 2>/dev/null || {
+ # Trigger internal workflow via workflow_dispatch
+ gh workflow run issue-detective.yml \
+ --repo ${TARGET_REPO} \
+ -f "issue_url=${ISSUE_URL}" \
+ -f "lookback_days=7" 2>/dev/null || {
echo "Issue notification sent (dispatch may have failed due to permissions)"
exit 0
}