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

Fix cross-repo workflow trigger mechanismBrowse files
inigo authored on Sep 5, 2025 parent 2b3a504 · commit 8fba17cb9973
1 changed file+4 -4compared with 2b3a504
M.github/workflows/issue-notify.yml
@@ -30,10 +30,10 @@
3030
3131 echo "Processing issue #${ISSUE_NUMBER}"
3232
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}"|| {
3737 echo "Issue notification sent"
3838 exit 0
3939 }