From 38f095bf0d9b72e2f9e8484282937f433bf3dfcb Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Sun, 29 Mar 2020 14:43:20 -0600 Subject: [PATCH] Mark and close stale issues and PRs --- .github/workflows/stale.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..e625d116 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +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 }} + days-before-stale: 90 + days-before-close: 5 + stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + stale-issue-label: 'no-issue-activity' + exempt-issue-label: 'awaiting-approval' + stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + stale-pr-label: 'no-pr-activity' + exempt-pr-label: 'awaiting-approval'