Explorar o código

Bot will label a potential duplicate issue

Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
f48d2d03f3
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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}}