From bca0e727bc09cd6300188b4fbb0258e3aa564f57 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 000000000000..c759ef9459e0 --- /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