From ae9e91f16016e5b19ace23283650f2c1bfb9e892 Mon Sep 17 00:00:00 2001 From: Charles <32498151+charlesomer@users.noreply.github.com> Date: Tue, 13 Jul 2021 21:43:31 +0100 Subject: [PATCH] Create actions-stale.yaml --- .github/workflows/actions-stale.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/actions-stale.yaml diff --git a/.github/workflows/actions-stale.yaml b/.github/workflows/actions-stale.yaml new file mode 100644 index 00000000..3b0616f6 --- /dev/null +++ b/.github/workflows/actions-stale.yaml @@ -0,0 +1,16 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '* 8 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + stale-issue-message: 'This issue has been inactive for 60 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.' + stale-pr-message: 'This PR has been inactive for 60 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.' + # These are the defaults at the time of writing. https://github.com/marketplace/actions/close-stale-issues + # days-before-stale: 60 + # days-before-close: 7