mirror of
https://github.com/anthropics/claude-code.git
synced 2026-02-01 22:48:05 +00:00
Update auto-close-duplicates script to actually close issues
- Remove dry run mode and implement actual issue closing - Extract duplicate issue number from bot comments - Close issues via GitHub API with proper state and comments - Add error handling for API failures - Use Claude Code comment format with reopening instructions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -28,9 +28,10 @@ Found 3 possible duplicate issues:
|
||||
2. <link to issue>
|
||||
3. <link to issue>
|
||||
|
||||
If your issue is a duplicate, please close it and 👍 the existing issue instead.
|
||||
This issue will be automatically closed as a duplicate in 3 days.
|
||||
|
||||
<sub>This issue will be automatically closed as a duplicate in 3 days if there are no additional comments. To prevent auto-closure, please 👎 this comment.</sub>
|
||||
- If your issue is a duplicate, please close it and 👍 the existing issue instead
|
||||
- To prevent auto-closure, add a comment or 👎 this comment
|
||||
|
||||
🤖 Generated with [Claude Code](https://claude.ai/code)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user