From 5aed4ee14d686e08fdd5890ee77201158c8e5828 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sun, 25 Sep 2022 12:58:18 +0800 Subject: [PATCH] Update anti-spam workflows --- .github/pull_request_template.md | 1 + .github/workflows/anti_spam.yml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6afc729..0a0a043 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,6 +4,7 @@ Don't forget to check all base themes and tablet mode for relevant changes. DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT. + Please set the label to bugfix or enhancement, otherwise it will be closed. --> Checklist diff --git a/.github/workflows/anti_spam.yml b/.github/workflows/anti_spam.yml index 841e9a9..e6f7372 100644 --- a/.github/workflows/anti_spam.yml +++ b/.github/workflows/anti_spam.yml @@ -18,11 +18,13 @@ jobs: enhancement issue-lock-reason: spam exclude-pr-labels: | - bug + bugfix enhancement do-not-autoclose pr-labels: spam pr-lock-reason: spam + skip-closed-pr-comment: true + skip-closed-issue-comment: true - name: Delete workflow runs uses: Mattraks/delete-workflow-runs@v2 with: