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

Add workflow variableBrowse files
inigo authored on Sep 5, 2025 parent 702c601 · commit 3e00a4459032
1 changed file+3 -3compared with 702c601
M.github/workflows/issue-notify.yml
@@ -19,6 +19,7 @@
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' }}
2223 GH_TOKEN: ${{ secrets.ISSUE_NOTIFY_TOKEN || github.token }}
2324 run: |
2425 # Check if internal processing is configured
@@ -30,10 +31,9 @@
3031 echo "Processing issue #${ISSUE_NUMBER}"
3132
3233 # Trigger internal workflow via workflow_dispatch
33- gh workflow run issue-detective.yml \
34+ gh workflow run ${TARGET_WORKFLOW} \
3435 --repo ${TARGET_REPO} \
35- -f "issue_url=${ISSUE_URL}" \
36- -f "lookback_days=7" 2>/dev/null || {
36+ -f "issue_url=${ISSUE_URL}" 2>/dev/null || {
3737 echo "Issue notification sent (dispatch may have failed due to permissions)"
3838 exit 0
3939 }