From 8c045678bc2ce977de108f6f18fb25e1c3c09aba Mon Sep 17 00:00:00 2001 From: Philipp Hoenisch Date: Tue, 24 Mar 2020 12:56:00 +1100 Subject: [PATCH] add stale bot --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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 0000000..c389432 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +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-label: 'no-activity' + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.' + stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.' + stale-pr-label: 'no-activity' + exempt-issue-label: 'epic' + days-before-stale: 30 + days-before-close: 7