-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
41 lines (41 loc) · 1.28 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
filter:
description: Filter issues by title.
required: false
exclude:
description: Exclude keywords in title before detecting.
required: false
label:
description: Label to set, when potential duplicates are detected.
default: potential-duplicate
required: false
state:
description: "Get issues with state to compare. Supported state: 'all', 'closed', 'open'"
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.
default: |
Potential duplicates: {{#issues}}
- [#{{ number }}] {{ title }} ({{ accuracy }}%)
{{/issues}}
required: false
reactions:
description: Reactions to be add to comment when potential duplicates are detected.
required: false
runs:
using: node16
main: dist/index.js
branding:
icon: type
color: yellow # gray-dark purple red orange green blue yellow black white