From 696a8e6348431fb27920d38949e74fb428aaf659 Mon Sep 17 00:00:00 2001 From: Sara Vieira Date: Thu, 3 Sep 2020 21:49:44 +0200 Subject: [PATCH] add stale gh action --- .github/workflows/stale.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 00000000000..c44d6b6fa39 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,26 @@ +name: 'Close stale issues and PRs' +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 is stale because it has been open many days with no + activity. It will be closed soon unless the stale label is removed + or a comment is made.' + stale-issue-label: 'stale' + exempt-issue-label: '💥 Crash Report' + stale-pr-message: + 'This PR is stale because it has been open many days with no + activity. It will be closed soon unless the stale label is removed + or a comment is made.' + stale-pr-label: 'stale' + exempt-pr-label: '💥 Crash Report' + days-before-stale: 90 + days-before-close: 15