ci: prevent duplicate PR check from flagging current PR as duplicate#6924
Merged
rekram1-node merged 2 commits intoanomalyco:devfrom Jan 5, 2026
Merged
Conversation
…y adding an excludePR parameter to the search tool and updating agent instructions.
Contributor
|
The following comment was made by an LLM, it may be inaccurate: ResultsNo duplicate PRs found. The search results only return the PR itself (PR #6924: "fix: prevent duplicate PR check from flagging current PR as duplicate"), which is expected since we're searching for it. The other results from the first search (PRs #6905, #2483, #4879, #5170, #5779, #6403) are unrelated PRs that matched the broad "duplicate PR detection" keyword search but are not actually about the same issue. Conclusion: This PR appears to be unique and addressing a specific issue with the duplicate PR detection workflow. There are no existing open PRs that appear to be duplicates or addressing the same problem. |
ryanwyler
pushed a commit
to gignit/opencode-orig
that referenced
this pull request
Jan 6, 2026
…nomalyco#6924) Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
triklozoid
pushed a commit
to triklozoid/opencode
that referenced
this pull request
Feb 2, 2026
…nomalyco#6924) Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
When a new PR is opened, the duplicate PR detection workflow searches for similar PRs.
However, the search results include the newly opened PR itself, causing it to be
incorrectly flagged as a "duplicate" of itself.
Solution
excludePRparameter to thegithub-pr-searchtool to filter out a specific PRCURRENT_PR_NUMBER