You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Issues Similarity Analysis
v1.1.2
A GitHub Action help you analysis similarity based on the title of issue.
name: Issues Similarity Analysis
on:
issues:
types: [opened, edited]
jobs:
similarity-analysis:
runs-on: ubuntu-latest
steps:
- name: analysis
uses: actions-cool/issues-similarity-analysis@v1
with:
filter-threshold: 0.5
title-excludes: 'bug, not, 1234'
comment-title: '### See'
comment-body: '${index}. ${similarity} #${number}'
Name | Desc | Type | Default | Required |
---|---|---|---|---|
token | GitHub token. | string | GitHub Bot Token | β |
since-days | How days to query the issues that updated since. | number | 100 | β |
filter-threshold | Filter issues similarity higher than this threshold. | number | 0.8 | β |
title-excludes | Exclude words before filter. | string | - | β |
comment-title | Comment title customization. | string | ### Issues Similarity Analysis: |
β |
comment-body | Comment body customization. | string | - [#${number}][${title}][${similarity}] |
β |
show-footer | Whether show footer. | boolean | true | β |
filter-threshold
: Keep in[0, 1]
comment-body
:- The filter issues sort by threshold desc
- Support
${index}
${number}
${title}
${similarity}
You are very welcome to try it out and put forward your comments. You can use the following methods:
- Report bugs or consult with Issue
- Submit Pull Request to improve the code of
issues-similarity-analysis
δΉζ¬’θΏε ε ₯ ιιδΊ€ζ΅ηΎ€