From b1e19ab3b7a2a19a05813666c945ac0ef68c8ce8 Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 16 Aug 2021 10:33:00 -0400 Subject: [PATCH] [skip ci] Add workflow to batch close old issues --- .github/workflows/batch_close_issues.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/batch_close_issues.yml diff --git a/.github/workflows/batch_close_issues.yml b/.github/workflows/batch_close_issues.yml new file mode 100644 index 000000000..0e6e53706 --- /dev/null +++ b/.github/workflows/batch_close_issues.yml @@ -0,0 +1,16 @@ +name: "Batch close stale issues" +on: + workflow_dispatch: + inputs: + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + # Close everything older than 2 years + days-before-stale: 730 + days-before-close: 0 + close-issue-message: "In an effort to have a more manageable issue backlog, we're closing issues older than 2 years. If you think your request or report is still relevant and may benefit others, please open a new issue." \ No newline at end of file