From 8d775dcdf59a900623ecb862cec28854f9fa0774 Mon Sep 17 00:00:00 2001 From: EdamAmex <121654029+EdamAme-x@users.noreply.github.com> Date: Sun, 3 Nov 2024 07:40:11 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20automatically=20close=20issues=20marke?= =?UTF-8?q?d=20as=20=E2=80=9Cnot=20bug=E2=80=9D=20over=20time=20(#3611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: automatically close issues marked as “not bug” over time * Update no-response.yml * add comment --- .github/workflows/no-response.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/no-response.yml diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml new file mode 100644 index 00000000..d0d1be7f --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,26 @@ +name: Close stale issues with "not bug" label + +on: + schedule: + - cron: '0 0 * * *' + +permissions: + contents: write + issues: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - name: Close stale issues with "not bug" label + uses: actions/stale@v8 + with: + days-before-stale: 7 + days-before-close: 2 + stale-issue-message: 'This issue has been marked as stale due to inactivity.' + close-issue-message: 'Closing this issue due to inactivity.' + exempt-issue-labels: '' + stale-issue-label: 'stale' + only-labels: 'not bug' + operations-per-run: 30 + remove-stale-when-updated: true