From 14c4feeca64a3942ae77721f7ced4da91f1dc1ee Mon Sep 17 00:00:00 2001 From: Kuitos Date: Sat, 22 May 2021 22:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20add=20inactive=20issue=20close?= =?UTF-8?q?=20action=20(#1462)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-close-inactive.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/issue-close-inactive.yml diff --git a/.github/workflows/issue-close-inactive.yml b/.github/workflows/issue-close-inactive.yml new file mode 100644 index 0000000..6ca3bf5 --- /dev/null +++ b/.github/workflows/issue-close-inactive.yml @@ -0,0 +1,29 @@ +name: Issue Close Inactive + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + close-issues: + runs-on: ubuntu-latest + steps: + - name: close inactive issue without reprodction + uses: actions-cool/issues-helper@v2.2.1 + with: + actions: 'close-issues' + labels: 'Need Reproduction' + inactive-day: 30 + body: | + Since the issue was labeled with `Need Reproduction`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply. + 由于该 issue 被标记为需要可复现步骤,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 + + - name: close inactive issue not use template + uses: actions-cool/issues-helper@v2.2.1 + with: + actions: 'close-issues' + labels: 'pls use issue template' + inactive-day: 30 + body: | + Since the issue was labeled with `pls use issue template`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply. + 由于该 issue 被标记为需要使用模板,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。