Abhinandankaushik opened a new pull request, #402: URL: https://github.com/apache/fory-site/pull/402
## Summary This PR adds an automated mechanism to detect and handle duplicate issues and pull requests in the repository through the CI/CD workflow. ## Problem Currently, duplicate issues and pull requests are frequently created, which leads to: * Redundant discussions * Repeated work * Increased maintenance overhead for maintainers There was no automated system in place to proactively detect and flag such duplicates. ## What this PR does This PR introduces an automated duplicate detection mechanism that: * Scans newly created issues and pull requests for similarity with existing ones. * Compares them based on **title, description, and labels**. * Automatically applies a `possible-duplicate` label to suspected duplicates. * Posts a bot comment suggesting related existing issues with relevant links. * Provides configurable behavior to optionally close an issue if an exact match is found. ## Alternatives considered The following alternatives were considered but rejected: * **Manual review by maintainers** → Does not scale and increases workload. * **GitHub issue templates only** → Helpful but does not prevent duplicate submissions. * **Strict issue submission rules** → Too restrictive and may discourage contributions. ## Additional context * This feature is especially useful for large repositories with frequent contributions. * Implemented using GitHub Actions with existing issue similarity tools / custom scripts. * Similar functionality exists in repositories such as Kubernetes and TensorFlow. ## Checklist * [x] Implemented automated duplicate detection in CI/CD * [x] Added labeling for suspected duplicates * [x] Added bot comment with related issue links * [x] Made auto-close behavior configurable Fixed issue : #400 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
