mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-23 11:49: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
|
name: Bug report/反馈 Bug
|
||||||
description: Report errors or unexpected behavior./反馈错误或异常行为。
|
description: Report errors or unexpected behavior./反馈错误或异常行为。
|
||||||
labels: [bug]
|
labels: [bug]
|
||||||
title: "[Bug] "
|
title: "[Bug] Short description."
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
|
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@ -2,7 +2,7 @@
|
|||||||
name: Feature request/新特性请求
|
name: Feature request/新特性请求
|
||||||
description: Suggest an idea./提出建议
|
description: Suggest an idea./提出建议
|
||||||
labels: [enhancement]
|
labels: [enhancement]
|
||||||
title: "[Feature Request] "
|
title: "[Feature Request] Short description."
|
||||||
body:
|
body:
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: Anti-spam
|
name: Issue moderator
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
@ -18,20 +18,17 @@ jobs:
|
|||||||
retain_days: 0
|
retain_days: 0
|
||||||
keep_minimum_runs: 0
|
keep_minimum_runs: 0
|
||||||
- name: Check issue
|
- name: Check issue
|
||||||
uses: dessant/repo-lockdown@v2
|
uses: tachiyomiorg/issue-moderator-action@v1
|
||||||
with:
|
with:
|
||||||
exclude-issue-labels: |
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
bug
|
auto-close-rules: |
|
||||||
enhancement
|
[
|
||||||
issue-lock-reason: spam
|
{
|
||||||
exclude-pr-labels: |
|
"type": "title",
|
||||||
bugfix
|
"regex": ".*Short description.*",
|
||||||
enhancement
|
"message": "You did not fill out the description in the title"
|
||||||
do-not-autoclose
|
}
|
||||||
pr-labels: spam
|
]
|
||||||
pr-lock-reason: spam
|
auto-close-ignore-label: do-not-autoclose
|
||||||
skip-closed-pr-comment: true
|
|
||||||
skip-closed-issue-comment: true
|
|
||||||
process-only: issues
|
|
||||||
- name: Check PR
|
- name: Check PR
|
||||||
uses: sumally/github-check-tasklist-action@v1
|
uses: sumally/github-check-tasklist-action@v1
|
Loading…
Reference in New Issue
Block a user