2020-09-27 13:29:47 +00:00
|
|
|
|
name: Potential Duplicates
|
|
|
|
|
description: Search for potential issue duplicates using Damerau–Levenshtein algorithm..
|
|
|
|
|
author: bubkoo <bubkoo.wy@gmail.com>
|
|
|
|
|
inputs:
|
|
|
|
|
GITHUB_TOKEN:
|
|
|
|
|
description: Your GitHub token for authentication.
|
|
|
|
|
required: true
|
2020-12-04 02:37:56 +00:00
|
|
|
|
filter:
|
|
|
|
|
description: Filter issues by title.
|
|
|
|
|
required: false
|
2020-12-08 02:26:24 +00:00
|
|
|
|
exclude:
|
2021-01-22 01:14:37 +00:00
|
|
|
|
description: Exclude keywords in title before detecting.
|
2020-12-08 02:26:24 +00:00
|
|
|
|
required: false
|
2020-09-27 13:29:47 +00:00
|
|
|
|
label:
|
|
|
|
|
description: Label to set, when potential duplicates are detected.
|
|
|
|
|
default: potential-duplicate
|
|
|
|
|
required: false
|
|
|
|
|
state:
|
2020-09-27 13:38:35 +00:00
|
|
|
|
description: "Get issues with state to compare. Supported state: 'all', 'closed', 'open'"
|
2020-09-27 13:29:47 +00:00
|
|
|
|
default: all
|
|
|
|
|
required: false
|
|
|
|
|
threshold:
|
|
|
|
|
description: Label color to set, when potential duplicates are detected.
|
|
|
|
|
default: 0.6
|
|
|
|
|
required: false
|
|
|
|
|
comment:
|
|
|
|
|
description: Comment to post when potential duplicates are detected.
|
2020-12-04 02:37:56 +00:00
|
|
|
|
default: |
|
2020-09-27 13:38:35 +00:00
|
|
|
|
Potential duplicates: {{#issues}}
|
2020-09-27 13:29:47 +00:00
|
|
|
|
- [#{{ number }}] {{ title }} ({{ accuracy }}%)
|
|
|
|
|
{{/issues}}
|
2020-09-28 08:43:10 +00:00
|
|
|
|
required: false
|
|
|
|
|
reactions:
|
|
|
|
|
description: Reactions to be add to comment when potential duplicates are detected.
|
2020-09-27 13:29:47 +00:00
|
|
|
|
required: false
|
|
|
|
|
runs:
|
|
|
|
|
using: node12
|
|
|
|
|
main: dist/index.js
|
|
|
|
|
branding:
|
|
|
|
|
icon: type
|
|
|
|
|
color: yellow # gray-dark purple red orange green blue yellow black white
|