From 907248d4eefa5272014f0e25b7fdb1eea10a5c42 Mon Sep 17 00:00:00 2001 From: Jaco Date: Fri, 28 May 2021 11:07:06 +0300 Subject: [PATCH] Add stale.yml (#347) --- .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 000000000..cfd3c02e1 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,17 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '15 2 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GH_PAT }} + stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove the stale label or comment or this will be closed in 7 days.' + stale-issue-label: 'stale' + exempt-issue-labels: '-size-l,-size-m,-size-s,-size-xl,-size-xs,,[bug]' + days-before-stale: 21 + days-before-close: 7