Is there an existing issue for this?
What happened?
Issue Overview
The duplicate issue detection workflow is currently comparing a newly created issue against itself.
As a result, every newly opened issue gets a 100% similarity match with its own content and is incorrectly flagged as a potential duplicate.
Steps to Reproduce
- Ensure the duplicate issue detection workflow is enabled.
- Create a new issue in the repository with any title and description.
- Wait for the GitHub Action workflow to execute on the
issues.opened event.
- Observe the workflow-generated comment on the newly created issue.
- Check the duplicate match results displayed by the workflow.
Expected Behavior
The newly created issue should be excluded from the semantic matching candidate set.
The workflow should only compare the new issue against other existing issues in the repository and should not generate a duplicate match for itself.
Actual Behavior
The workflow compares the newly created issue against itself and reports it as a duplicate with a similarity score of 100%.
Example:
Screenshot
Record
Is there an existing issue for this?
What happened?
Issue Overview
The duplicate issue detection workflow is currently comparing a newly created issue against itself.
As a result, every newly opened issue gets a 100% similarity match with its own content and is incorrectly flagged as a potential duplicate.
Steps to Reproduce
issues.openedevent.Expected Behavior
The newly created issue should be excluded from the semantic matching candidate set.
The workflow should only compare the new issue against other existing issues in the repository and should not generate a duplicate match for itself.
Actual Behavior
The workflow compares the newly created issue against itself and reports it as a duplicate with a similarity score of 100%.
Example:
possible-duplicatelabel is added to the same issue.Screenshot
Record