From 065816c8a436ecc00233616873bb2aa28afb2a11 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Sat, 18 Oct 2025 10:27:14 -0700 Subject: [PATCH] Add stale issue and PR identification workflow This workflow identifies stale issues and pull requests that have been inactive for 60 days, sending a message to notify users. Does NOT auto-close anything. --- .github/workflows/stale.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 000000000..b1bf8020b --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,23 @@ +name: 'Identify stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' +permissions: + actions: write + issues: write + pull-requests: write +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v10 + with: + stale-issue-message: 'This issue seems stale because it has been open 60 days with no activity.' + stale-pr-message: 'This PR seems stale because it has been open 60 days with no activity.' + days-before-stale: 60 + + # Don't close issues or PRs. + # It's common that it's still accurate but we just didn't take action on it. + # Contributors shouldn't feel discouraged by inaction. + # Also, avoid someone re-doing the same work to re-open the same thing. + days-before-close: -1