From 5e3b8f067698791dc1df84d37bb144677ece22cb Mon Sep 17 00:00:00 2001 From: Alexander Schaber Date: Fri, 14 Apr 2023 20:24:59 +0200 Subject: [PATCH] chore(stale): move from deprecated probot-no-response to github stale action to mark stale issues & PRs after 60 days and then close them after another 7 days See - https://github.com/actions/stale - https://github.com/probot/no-response Closes #2747 --- .github/no-response.yml | 13 ------------- .github/workflows/stale.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 .github/no-response.yml create mode 100644 .github/workflows/stale.yml diff --git a/.github/no-response.yml b/.github/no-response.yml deleted file mode 100644 index 9c4bbaa4e..000000000 --- a/.github/no-response.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Configuration for probot-no-response - https://github.com/probot/no-response - -# Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 21 -# Label requiring a response -responseRequiredLabel: user_pending -# Comment to post when closing an Issue for lack of response. Set to `false` to disable -closeComment: > - This issue has been automatically closed because there has been no response - to our request for more information from the original author. The information - that is currently in the issue is insufficient to take further action. - Feel free to re-open this issue if additional information becomes available, - or if you believe it has been closed in error. diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..26edf27f9 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,14 @@ +name: 'Remove labels when the issue or PR becomes stale' +on: + schedule: + - cron: '30 1 * * *' + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8