From f48d2d03f340cf0b629fb2f6923456c4a19a98ee Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 16 Jun 2018 00:58:23 +0100 Subject: [PATCH] Bot will label a potential duplicate issue --- .github/potential-duplicates.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/potential-duplicates.yml diff --git a/.github/potential-duplicates.yml b/.github/potential-duplicates.yml new file mode 100644 index 000000000..ef31c01dc --- /dev/null +++ b/.github/potential-duplicates.yml @@ -0,0 +1,13 @@ +# Label name and color to set, when potential duplicates are detected +issueLabel: "Type: potential duplicate" +labelColor: D2DAE1 + +# If similarity is higher than this threshold, issue will be marked as duplicate +threshold: 0.60 + +# Comment to post when potential duplicates are detected +referenceComment: > + Potential duplicates: + {{#issues}} + - [#{{ number }}] {{ title }} ({{ accuracy }}%) + {{/issues}} \ No newline at end of file