Update issue validation workflow

This commit is contained in:
Howard Wu 2022-09-25 22:24:52 +08:00
parent f59f012006
commit b0fee9c191
3 changed files with 14 additions and 17 deletions

View File

@ -1,7 +1,7 @@
name: Bug report/反馈 Bug
description: Report errors or unexpected behavior./反馈错误或异常行为。
labels: [bug]
title: "[Bug] "
title: "[Bug] Short description."
body:
- type: markdown
attributes:

View File

@ -2,7 +2,7 @@
name: Feature request/新特性请求
description: Suggest an idea./提出建议
labels: [enhancement]
title: "[Feature Request] "
title: "[Feature Request] Short description."
body:
- type: textarea
attributes:

View File

@ -1,4 +1,4 @@
name: Anti-spam
name: Issue moderator
on:
issues:
@ -18,20 +18,17 @@ jobs:
retain_days: 0
keep_minimum_runs: 0
- name: Check issue
uses: dessant/repo-lockdown@v2
uses: tachiyomiorg/issue-moderator-action@v1
with:
exclude-issue-labels: |
bug
enhancement
issue-lock-reason: spam
exclude-pr-labels: |
bugfix
enhancement
do-not-autoclose
pr-labels: spam
pr-lock-reason: spam
skip-closed-pr-comment: true
skip-closed-issue-comment: true
process-only: issues
repo-token: ${{ secrets.GITHUB_TOKEN }}
auto-close-rules: |
[
{
"type": "title",
"regex": ".*Short description.*",
"message": "You did not fill out the description in the title"
}
]
auto-close-ignore-label: do-not-autoclose
- name: Check PR
uses: sumally/github-check-tasklist-action@v1