mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-23 03:39:16 +01:00
Update anti-spam workflows
This commit is contained in:
parent
80a30f46d1
commit
baeaed55fd
1
.github/pull_request_template.md
vendored
1
.github/pull_request_template.md
vendored
@ -3,7 +3,6 @@
|
||||
Also make sure you've tested your code and also done a self-review of it.
|
||||
|
||||
DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.
|
||||
Please set the label to bugfix or enhancement, otherwise it will be closed.
|
||||
-->
|
||||
|
||||
Checklist
|
||||
|
18
.github/workflows/anti_spam.yml
vendored
18
.github/workflows/anti_spam.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
autoclose:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Anti-spam
|
||||
- name: Check issue
|
||||
uses: dessant/repo-lockdown@v2
|
||||
with:
|
||||
exclude-issue-labels: |
|
||||
@ -25,6 +25,22 @@ jobs:
|
||||
pr-lock-reason: spam
|
||||
skip-closed-pr-comment: true
|
||||
skip-closed-issue-comment: true
|
||||
process-only: issues
|
||||
- name: Check pull request
|
||||
uses: tachiyomiorg/issue-moderator-action@v1
|
||||
with:
|
||||
auto-close-rules: |
|
||||
[
|
||||
{
|
||||
"type": "body",
|
||||
"regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*",
|
||||
"message": "The acknowledgment section was not removed."
|
||||
}
|
||||
]
|
||||
auto-close-ignore-label: |
|
||||
do-not-autoclose
|
||||
bugfix
|
||||
enhancement
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user