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 workflow failure by adding workflow_dispatch triggerBrowse files
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>
Boris Cherny authored on Aug 8, 2025 parent a7edbdc · commit 478f63be73f9
1 changed file+7 -1compared with a7edbdc
M.github/workflows/claude-dedupe-issues.yml
@@ -3,6 +3,12 @@
33 on:
44 issues:
55 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
612
713 jobs:
814 claude-dedupe-issues:
@@ -19,7 +25,7 @@
1925 - name: Run Claude Code slash command
2026 uses: anthropics/claude-code-base-action@beta
2127 with:
22- prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number }}"
28+ prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}"
2329 anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
2430 claude_env: |
2531 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}