mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-23 03:39:16 +01:00
Update issue validation workflow
This commit is contained in:
parent
f59f012006
commit
b0fee9c191
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -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:
|
||||
|
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@ -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:
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user