From cd46c6438bbfd21fc5dbe21930abc3b5ccde4b8e Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Mon, 28 Mar 2022 20:48:50 -0500 Subject: [PATCH] .github/workflows: Add a workflow for dealing with stale issues/prs --- .github/workflows/stale.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000000..2c79d3a89b58 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,18 @@ +--- +name: Stale Cleanup + +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + stale-issue-message: 'Issues become stale 90 days after last activity and are closed 7 days after that. If this issue is still relevant bump it or assign it.' + stale-pr-message: 'Pull Requests become stale 90 days after last activity and are closed 7 days after that. If this pull request is still relevant bump it or assign it.' + days-before-stale: 90 + days-before-close: 7 + debug-only: true