From 4ef9761cea1350f885a70acc8ff686872f2283b5 Mon Sep 17 00:00:00 2001 From: rrr523 Date: Tue, 12 Sep 2023 17:19:08 +0800 Subject: [PATCH] chore: Github Action issue close --- .github/workflows/issue-close.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/issue-close.yaml diff --git a/.github/workflows/issue-close.yaml b/.github/workflows/issue-close.yaml new file mode 100644 index 00000000..e1533e98 --- /dev/null +++ b/.github/workflows/issue-close.yaml @@ -0,0 +1,25 @@ +name: Issue Close Require + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + close-issues: + runs-on: ubuntu-latest + steps: + - name: need reproduce + uses: actions-cool/issues-helper@v3 + with: + actions: 'close-issues' + labels: '🤔 Need Reproduce' + inactive-day: 3 + + - name: needs more info + uses: actions-cool/issues-helper@v3 + with: + actions: 'close-issues' + labels: 'needs more info' + inactive-day: 3 + body: | + Since the issue was labeled with `needs more info`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.