From 21d3181e000a1090c405bfc604bedcb57f88526a Mon Sep 17 00:00:00 2001 From: lazymio Date: Tue, 5 Oct 2021 19:29:12 +0200 Subject: [PATCH] Use action/stale --- .github/workflows/stale.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..d1f6786c --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,20 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 5 * * *' + workflow_dispatch: + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.' + days-before-stale: 60 + days-before-close: 15 + exempt-all-milestones: true + exempt-issue-labels: + - pinned + exempt-pr-labels: + - pinned