-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
44 lines (44 loc) · 1.21 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
42
43
44
name: dupliket
description: Find possible references of duplicates from new issues and discussions
author: Cristopher Namchee
inputs:
access_token:
required: true
description: GitHub Personal Access Token
api_key:
required: true
description: OpenAI's API Key
model:
required: false
description: Model to be used for calculating similarities
default: text-embedding-ada-002
max_issues:
required: false
description: Maximum number of similar issues to be returned
default: 3
min_similarity:
required: false
description: Minimum similarity for issues to be considered as similar
default: 0.9
discussions:
required: false
description: Include GitHub discussions when searching duplicates
default: true
show_similarity:
required: false
description: Print similarity value to the output
default: false
label:
required: false
description: Label to be added on potential duplicates
default: ''
template:
required: false
description: Message template to be used on duplicate issue or discussion. Uses mustache templating.
default: ''
runs:
using: 'node20'
main: 'dist/main.js'
branding:
icon: 'file-text'
color: 'gray-dark'