blob: 36442132c9835648a7202e3e6de34a536a41b6d0 [file] [log] [blame]
86133aaa3f5d2025-04-20 21:33:29 +08001name: Issue Open Check
2
3on:
4 issues:
5 types: [opened, edited]
6
7jobs:
8 check-issue:
9 runs-on: ubuntu-latest
10 steps:
11 - uses: actions-cool/issues-helper@v2.2.0
12 id: check
13 with:
14 actions: 'check-issue'
15 issue-number: ${{ github.event.issue.number }}
16 title-excludes: '🐛 [BUG], 👑 [需求 | Feature], 🧐[问题 | question]'
17
18 - if: steps.check.outputs.check-result == 'false' && github.event.issue.state == 'open'
19 uses: actions-cool/issues-helper@v2.2.0
20 with:
21 actions: 'create-comment, close-issue'
22 issue-number: ${{ github.event.issue.number }}
23 body: |
24 当前 Issue 未检测到标题,请规范填写,谢谢!
25
26 The title of the current issue is not detected, please fill in according to the specifications, thank you!
27
28 - if: steps.check.outputs.check-result == 'true'
29 uses: actions-cool/issues-similarity-analysis@v1
30 with:
31 filter-threshold: 0.8
32 title-excludes: '🐛[BUG], 👑 [需求 | Feature], 🧐[问题 | question]'
33 comment-title: '### 以下的 Issues 可能会帮助到你 / The following issues may help you'
34 show-footer: false