From c58d7b4522ae874a93e043c7531bc6aff6830ea7 Mon Sep 17 00:00:00 2001 From: Chris Hawk Date: Wed, 6 Aug 2025 16:52:47 -0700 Subject: [PATCH] Add a workflow that closes stale issues and PRs For now it is in debug mode so it will just log what it would do. --- .github/workflows/stale.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 00000000..cc59684c --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,25 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '0 6 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 + with: + debug-only: true + days-before-stale: -1 + days-before-close: 180 + stale-issue-label: 'stale' + stale-pr-label: 'stale' + close-issue-message: | + I'm going to close this issue due to inactivity (_180 days_ without response ⏳ ). This helps our maintainers find and focus on the active issues. + + If this issue was automatically closed and you feel this issue should be reopened, please do so with any new available information. Thank you! + + close-pr-message: | + I'm going to close this pull requests due to inactivity (_180 days_ without response ⏳ ). This helps our maintainers find and focus on the active contributions. + + If this pull request was automatically closed and you feel this pull request should be reopened, we encourage creating a new pull request linking back to this one for added context. Thank you!