From 7508432710343dec9eacf27dd1dc23de5f859c0f Mon Sep 17 00:00:00 2001 From: Jo D Date: Tue, 2 Jun 2026 16:23:20 -0400 Subject: [PATCH] ci: add stale PR workflow with 30-day window --- .github/workflows/stale.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 0000000..f2bfae3 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,26 @@ +name: Close stale PRs + +on: + schedule: + - cron: '0 0 * * *' + +permissions: + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v10.3.0 + with: + days-before-pr-stale: 30 + days-before-pr-close: 5 + days-before-issue-stale: -1 + days-before-issue-close: -1 + stale-pr-message: > + This PR has been inactive for 30 days and has been marked as stale. + It will be closed in 5 days if there is no further activity. + close-pr-message: 'Closed due to inactivity.' + stale-pr-label: 'stale' + exempt-pr-labels: 'pinned,work-in-progress' + operations-per-run: 100