From ad916c5b0789f1d002e5a9e6abaffbb932340973 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Thu, 10 Mar 2022 09:37:47 +0100 Subject: [PATCH] Create close-stale.yml --- .github/workflows/close-stale.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/close-stale.yml diff --git a/.github/workflows/close-stale.yml b/.github/workflows/close-stale.yml new file mode 100644 index 00000000..92516079 --- /dev/null +++ b/.github/workflows/close-stale.yml @@ -0,0 +1,16 @@ +name: 'Close stale issues and PRs' + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v5.0.0 + with: + stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity. Remove the stale label or comment on this PR, otherwise it would be closed in 5 days.' + stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity. Remove the stale label or comment on this issue, otherwise it would be closed in 5 days.' + days-before-stale: 30 + days-before-close: 5