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
The backfill-duplicate-comments script was failing because it tried to trigger claude-dedupe-issues.yml via workflow_dispatch, but that workflow only had an issues trigger. Added workflow_dispatch with issue_number input and updated the prompt to use either event or input issue number. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
| @@ -3,6 +3,12 @@ | ||
| 3 | 3 | on: |
| 4 | 4 | issues: |
| 5 | 5 | types: [opened] |
| 6 | + workflow_dispatch: | |
| 7 | + inputs: | |
| 8 | + issue_number: | |
| 9 | + description: 'Issue number to process for duplicate detection' | |
| 10 | + required: true | |
| 11 | + type: string | |
| 6 | 12 | |
| 7 | 13 | jobs: |
| 8 | 14 | claude-dedupe-issues: |
| @@ -19,7 +25,7 @@ | ||
| 19 | 25 | - name: Run Claude Code slash command |
| 20 | 26 | uses: anthropics/claude-code-base-action@beta |
| 21 | 27 | with: |
| 22 | - prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number }}" | |
| 28 | + prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}" | |
| 23 | 29 | anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} |
| 24 | 30 | claude_env: | |
| 25 | 31 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |