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

inigo authored on Sep 5, 2025 parent 3e00a44 · commit 1bcc5cf5bdb7
1 changed file+7 -9compared with 3e00a44
M.github/workflows/issue-notify.yml
@@ -19,23 +19,21 @@
1919 ISSUE_NUMBER: ${{ github.event.issue.number }}
2020 ISSUE_TITLE: ${{ github.event.issue.title }}
2121 TARGET_REPO: ${{ secrets.ISSUE_NOTIFY_TARGET_REPO }}
22- TARGET_WORKFLOW: ${{ secrets.ISSUE_NOTIFY_TARGET_WORKFLOW || 'issue-detective.yml' }}
23- GH_TOKEN: ${{ secrets.ISSUE_NOTIFY_TOKEN || github.token }}
22+ TARGET_WORKFLOW: ${{ secrets.ISSUE_NOTIFY_TARGET_WORKFLOW }}
23+ GH_TOKEN: ${{ secrets.ISSUE_NOTIFY_TOKEN }}
2424 run: |
2525 # Check if internal processing is configured
26- if [ -z "$TARGET_REPO" ]; then
27- echo "Internal processing not configured"
26+ if [ -z "$TARGET_REPO" ] || [ -z "$TARGET_WORKFLOW" ]; then
27+ echo "Not configured"
2828 exit 0
2929 fi
30-
30+
3131 echo "Processing issue #${ISSUE_NUMBER}"
32-
32+
3333 # Trigger internal workflow via workflow_dispatch
3434 gh workflow run ${TARGET_WORKFLOW} \
3535 --repo ${TARGET_REPO} \
3636 -f "issue_url=${ISSUE_URL}" 2>/dev/null || {
37- echo "Issue notification sent (dispatch may have failed due to permissions)"
37+ echo "Issue notification sent"
3838 exit 0
3939 }
40-
41- echo "✅ Issue processed and dispatched to ${TARGET_REPO}"