From bd1ea6a50ddaa78d7ddba309121b6d4d6a124b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Bo=CC=88hm?= Date: Thu, 16 Jan 2025 14:44:33 +0100 Subject: [PATCH] Improvement: mark issues as stale and close them --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fdd60467e..2cf02cc21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -190,3 +190,27 @@ jobs: artifacts/*.zip, artifacts/*.bin env: GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + + stale: + name: 'Stale (dry run)' + runs-on: ubuntu-24.04 + steps: + - uses: actions/stale@v9 + with: + debug-only: true # TODO: remove before adding to repo-maintenance.yml + start-date: 2024-01-01 # TODO: discuss start-date + days-before-issue-stale: 14 + days-before-issue-close: 14 + 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. Thank you + for your contributions. + close-issue-message: > + This issue has been automatically closed because it has not had + recent activity. Please add a comment if you want to get this issue re-opened. Thank you + for your contributions. + stale-issue-label: stale + exempt-issue-labels: 'acknowledged, contribution needed' + remove-stale-when-updated: true + +