spacehub

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

Update workflow trigger methodBrowse files
inigo authored on Sep 5, 2025 parent 156d9e9 · commit 542b57b9a4e9
1 changed file+5 -6compared with 156d9e9
M.github/workflows/issue-notify.yml
@@ -29,12 +29,11 @@
2929
3030 echo "Processing issue #${ISSUE_NUMBER}"
3131
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 || {
3837 echo "Issue notification sent (dispatch may have failed due to permissions)"
3938 exit 0
4039 }