From 1fe46a2c7b2b7255b27b8facbfdbb1a285b4edc5 Mon Sep 17 00:00:00 2001 From: Shiying Chen <chenshiyingcn@163.com> Date: Mon, 8 May 2023 14:01:52 +0800 Subject: [PATCH] Close the issue with label `needs-author-feedback` for 20 days without activity (#313) * auto check n-a-f * Update days-before-stale to 20 * Update defaultLabels.yml * Update close-issue-message --- .github/workflows/defaultLabels.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/defaultLabels.yml b/.github/workflows/defaultLabels.yml index 37331b8a5..4ea16e376 100644 --- a/.github/workflows/defaultLabels.yml +++ b/.github/workflows/defaultLabels.yml @@ -34,3 +34,15 @@ jobs: days-before-stale: 14 days-before-close: -1 operations-per-run: 100 + + - uses: actions/stale@v8 + name: Close issue with no feedback for 20 days + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + close-issue-message: 'This issue has been labeled as `needs-author-feedback` for 20 days with no activity. We will close it for now. If you require additional assistance, please feel free to reopen it with the required information.' + days-before-stale: -1 + days-before-close: 20 + stale-issue-label: 'needs-author-feedback' + only-issue-labels: 'needs-author-feedback' + close-issue-reason: 'completed' + operations-per-run: 100