This repository was archived by the owner on Jun 3, 2026. It is now read-only.
feat: add Issue and PR duplicate detection bot - #1
Merged
Conversation
Agent-Logs-Url: https://github.com/th30d4y/automation-hub/sessions/f6503215-9d23-407c-bec9-267e974b510e Co-authored-by: 0x5t4l1n <161853795+0x5t4l1n@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
0x5t4l1n
May 3, 2026 13:00
View session
|
👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y |
|
👋 Thanks for opening this Pull Request! A maintainer will review it shortly. In the meantime:
|
0x5t4l1n
marked this pull request as ready for review
May 3, 2026 13:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a GitHub Actions workflow that automatically triages new issues and PRs by detecting duplicates using Jaccard keyword similarity and posting contextual comments.
Workflow:
.github/workflows/issue-pr-bot.ymlissues: [opened]andpull_request: [opened]duplicatelabel + comment pointing to the matched item numberneeds-triagelabel + welcome comment with contribution guidanceSimilarity logic
All logic runs inside a single
actions/github-script@v7step — no external dependencies or secrets beyond the defaultGITHUB_TOKEN.