Commit graph

9 commits

Author SHA1 Message Date
dependabot[bot]
c3e1be32ca
Bump actions/github-script from 7 to 9
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 16:00:08 +00:00
Ray
e5ac754828 Simplify root directory 2026-03-27 03:30:13 +08:00
BukeLy
8d36e1d4b6 Allow all users to trigger issue dedup via claude-code-action
Issues are opened by external users who don't have write permissions.
Add allowed_non_write_users: "*" so claude-code-action runs for all
issue authors, not just repo collaborators.
2026-03-04 10:51:15 +08:00
BukeLy
813eb3546d Allow github-actions bot to trigger claude-code-action
Backfill workflow triggers issue-dedupe via gh workflow run, which
makes the actor github-actions. Add it to allowed_bots so
claude-code-action accepts the trigger.
2026-03-02 18:40:03 +08:00
BukeLy
3d41a730f1 Fix backfill: replace gh issue list with gh api for pagination
gh issue list does not support --page flag. Switch to gh api with
temp file to handle JSON containing control characters in issue bodies.
2026-03-02 18:30:45 +08:00
BukeLy
e388e1b8b3 Fix backfill pagination: use raw count instead of filtered count
The pagination loop was breaking early because it checked the count
of jq-filtered results rather than the raw API response count.
2026-03-02 18:01:34 +08:00
BukeLy
5fa180744d Fix issues from Copilot review: 403 retry, comments pagination, backfill pagination
- Only retry 403 when rate-limit headers indicate throttling, not permission errors
- Add fetchAllComments() with pagination for issues with 100+ comments
- Add pagination loop in backfill workflow to handle repos with 200+ open issues
2026-03-02 17:45:57 +08:00
BukeLy
fd9330c434 Refactor issue dedup system to use claude-code-action with /dedupe command
Replace the copilot-generated inline search logic with a claude-code-action
based architecture inspired by anthropic/claude-code's approach:

- Add .claude/commands/dedupe.md with 5-parallel-search strategy
- Add scripts/comment-on-duplicates.sh with 3-day grace period warning
- Rewrite issue-dedupe.yml to use claude-code-action + /dedupe command
- Rewrite autoclose script to check bot comments, human activity, and thumbsdown
- Rewrite backfill to trigger dedupe workflow per issue with rate limiting
- Add concurrency control, timeout, input validation, and rate limit retry
- Remove gh.sh (unnecessary), backfill-dedupe.js (replaced by workflow trigger)
2026-03-02 17:05:44 +08:00
copilot-swe-agent[bot]
b3cb9531a4 Add GitHub Actions workflows for issue deduplication and auto-close
Co-authored-by: BukeLy <19304666+BukeLy@users.noreply.github.com>
2026-03-02 03:54:18 +00:00