From 85891a226132b4bb7c6c0196f52e00dcf1e81821 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Sun, 1 Mar 2020 15:59:52 +0000 Subject: [PATCH] Add GitHub Action to tidy stale issues --- .github/workflows/stale.yml | 17 +++++++++++++++++ 1 file changed, 17 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..ef08b62a --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,17 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been inactive for 60 days. If the issue is still relevant, please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.' + stale-pr-message: 'This pull request has been inactive for 60 days. If the pull request is still relevant, please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.'