From 9e77bda7295526d40dec09c3bc9215b51cecbdad Mon Sep 17 00:00:00 2001 From: JohnserfSeed <40727745+Johnserf-Seed@users.noreply.github.com> Date: Tue, 17 Sep 2024 12:09:17 +0800 Subject: [PATCH] Create issue_similarity.yml Signed-off-by: JohnserfSeed <40727745+Johnserf-Seed@users.noreply.github.com> --- .../.github/workflows/issue_similarity.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/.github/workflows/issue_similarity.yml diff --git a/.github/workflows/.github/workflows/issue_similarity.yml b/.github/workflows/.github/workflows/issue_similarity.yml new file mode 100644 index 0000000..f2f4def --- /dev/null +++ b/.github/workflows/.github/workflows/issue_similarity.yml @@ -0,0 +1,19 @@ +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 + comment-title: '### Similarity Issues' + comment-body: '${index}. ${similarity} #${number}' + show-footer: false + show-mentioned: true + since-days: 730