-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
34 lines (29 loc) ยท 1.21 KB
/
issue-open-check.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
name: Issue Open Check
on:
issues:
types: [opened, edited]
jobs:
check-issue:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/[email protected]
id: check
with:
actions: 'check-issue'
issue-number: ${{ github.event.issue.number }}
title-excludes: '๐ [BUG], ๐ [้ๆฑ | Feature], ๐ง[้ฎ้ข | question]'
- if: steps.check.outputs.check-result == 'false' && github.event.issue.state == 'open'
uses: actions-cool/[email protected]
with:
actions: 'create-comment, close-issue'
issue-number: ${{ github.event.issue.number }}
body: |
ๅฝๅ Issue ๆชๆฃๆตๅฐๆ ้ข๏ผ่ฏท่ง่ๅกซๅ๏ผ่ฐข่ฐข๏ผ
The title of the current issue is not detected, please fill in according to the specifications, thank you!
- if: steps.check.outputs.check-result == 'true'
uses: actions-cool/issues-similarity-analysis@v1
with:
filter-threshold: 0.8
title-excludes: '๐[BUG], ๐ [้ๆฑ | Feature], ๐ง[้ฎ้ข | question]'
comment-title: '### ไปฅไธ็ Issues ๅฏ่ฝไผๅธฎๅฉๅฐไฝ / The following issues may help you'
show-footer: false