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
| @@ -19,6 +19,7 @@ | ||
| 19 | 19 | ISSUE_NUMBER: ${{ github.event.issue.number }} |
| 20 | 20 | ISSUE_TITLE: ${{ github.event.issue.title }} |
| 21 | 21 | TARGET_REPO: ${{ secrets.ISSUE_NOTIFY_TARGET_REPO }} |
| 22 | + TARGET_WORKFLOW: ${{ secrets.ISSUE_NOTIFY_TARGET_WORKFLOW || 'issue-detective.yml' }} | |
| 22 | 23 | GH_TOKEN: ${{ secrets.ISSUE_NOTIFY_TOKEN || github.token }} |
| 23 | 24 | run: | |
| 24 | 25 | # Check if internal processing is configured |
| @@ -30,10 +31,9 @@ | ||
| 30 | 31 | echo "Processing issue #${ISSUE_NUMBER}" |
| 31 | 32 | |
| 32 | 33 | # Trigger internal workflow via workflow_dispatch |
| 33 | - gh workflow run issue-detective.yml \ | |
| 34 | + gh workflow run ${TARGET_WORKFLOW} \ | |
| 34 | 35 | --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 || { | |
| 37 | 37 | echo "Issue notification sent (dispatch may have failed due to permissions)" |
| 38 | 38 | exit 0 |
| 39 | 39 | } |