Przeglądaj źródła

Bot will label a potential duplicate issue

Daniel Gibbs 8 lat temu
rodzic
commit
f48d2d03f3
1 zmienionych plików z 13 dodań i 0 usunięć
  1. 13 0
      .github/potential-duplicates.yml

+ 13 - 0
.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}}