From c738008dbc134d9a25e757f393e2c98b93e8277a Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 14 Apr 2022 10:06:39 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20workflow=20for=20GitHub=20?= =?UTF-8?q?stale=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/stale.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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 00000000..db8b5cd1 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,30 @@ +name: "Close stale issues and PRs" +on: + schedule: + - cron: "30 1 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v5 + with: + days-before-stale: 30 + days-before-close: 14 + stale-issue-label: "stale" + stale-pr-label: "stale" + stale-issue-message: > + This issue has been automatically marked as stale because it has not had any recent activity. + + If you are still experiencing this issue, please review the issue history and add a reply with any requested and/or additional information in order to keep the issue open. + + This issue will automactically close in 14 days if no further activity occurs. + stale-pr-message: > + This pull request has been automatically marked as stale because it has not had any recent activity. + + Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the [contributing guidelines](https://github.com/jpanther/congo/blob/dev/CONTRIBUTING.md). If this is in error, please add a reply with further details. + + This PR will automactically close in 14 days if no further activity occurs.