From f841eea1cfc53d84dd21ca08daa056a7b2f6dcc7 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 | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000000..c759ef9459e --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,20 @@ +--- +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 + exempt-all-assignees: true + operations-per-run: 1000