Merge pull request #5420 from anthropics/boris/cmyy

Fix workflow failure by adding workflow_dispatch trigger
This commit is contained in:
Boris Cherny 2025-08-08 12:57:16 -07:00 committed by GitHub
commit 6059607354
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,12 @@ description: Automatically dedupe GitHub issues using Claude Code
on:
issues:
types: [opened]
workflow_dispatch:
inputs:
issue_number:
description: 'Issue number to process for duplicate detection'
required: true
type: string
jobs:
claude-dedupe-issues:
@ -19,7 +25,7 @@ jobs:
- name: Run Claude Code slash command
uses: anthropics/claude-code-base-action@beta
with:
prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number }}"
prompt: "/dedupe ${{ github.repository }}/issues/${{ github.event.issue.number || inputs.issue_number }}"
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
claude_env: |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}