From c5c51a3fd2efe585cabbe2436c93f60f4f4d09c2 Mon Sep 17 00:00:00 2001 From: tangge233 Date: Fri, 25 Oct 2024 20:02:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=86=8D=E5=8A=A0=E4=B8=AA=E9=95=BF?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=97=A0=E5=9B=9E=E5=A4=8D=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue_maintenance.yml | 22 ++++++++++++++++++++++ .github/workflows/issue_similarity.yml | 1 - 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/issue_maintenance.yml diff --git a/.github/workflows/issue_maintenance.yml b/.github/workflows/issue_maintenance.yml new file mode 100644 index 000000000..863122c56 --- /dev/null +++ b/.github/workflows/issue_maintenance.yml @@ -0,0 +1,22 @@ +name: Issue Maintenance + +on: + schedule: + - cron: "0 0 * * 2" + +jobs: + check-inactive: + runs-on: ubuntu-latest + steps: + - name: check-inactive + uses: actions-cool/issues-helper@v3.6.0 + with: + actions: 'check-inactive' + token: ${{ secrets.GITHUB_TOKEN }} + inactive-day: 14 + issue-state: 'open' + labels: '等待提交者' + body: | + 此 Issue 因长时间无回复而超时关闭,您仍可在下方回复内容 + This Issue has been closed due to long time inactive, you can still comment here. + close-reason: 'not_planned' diff --git a/.github/workflows/issue_similarity.yml b/.github/workflows/issue_similarity.yml index 49735c53f..b697678ae 100644 --- a/.github/workflows/issue_similarity.yml +++ b/.github/workflows/issue_similarity.yml @@ -16,4 +16,3 @@ jobs: comment-body: '${index}. ${similarity} #${number}' show-footer: false show-mentioned: true - since-days: 730