generated from actions-cool/action-js-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
50 lines (45 loc) · 1.34 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
45
46
47
48
49
50
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
name: 'Issues Similarity Analysis'
description: 'A GitHub Action help you analysis similarity based on the title of issue.'
author: 'xrkffgg'
github-token:
action-input:
input: token
permissions:
issues: write
issues-reason: to update or create issue comments
# https://actions-cool.github.io/github-action-branding/
branding:
icon: 'navigation'
color: 'red'
inputs:
token:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
since-days:
description: How days to query the issues that updated since.
default: 100
filter-threshold:
description: Filter issues similarity higher than this threshold.
default: 0.8
title-excludes:
description: Exclude words before filter.
comment-title:
description: Comment title customization.
comment-body:
description: Comment body customization.
show-mentioned:
description: Whether show mentioned.
show-footer:
description: Whether show footer.
outputs:
similar-issues-found:
description: Whether similar issues found.
similar-issues:
description: Similar issues Summary.
similar-issues-number:
description: Similar issues Number.
runs:
using: 'node20'
main: 'dist/index.js'