From e0249138dc1f1920d7c69676a83ac572b634c470 Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Tue, 21 Jul 2026 21:10:46 -0700 Subject: [PATCH 1/2] mark PRs stale after 7 days, run every 12 hours --- .github/workflows/stale.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index fba33eb471..07f85c5107 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,7 +2,7 @@ name: Close Stale PRs on: schedule: - - cron: "0 0 * * *" + - cron: "0 */12 * * *" workflow_dispatch: concurrency: @@ -17,12 +17,12 @@ jobs: steps: - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0 with: - days-before-pr-stale: 30 + days-before-pr-stale: 7 days-before-pr-close: 7 days-before-issue-stale: -1 days-before-issue-close: -1 stale-pr-label: stale - stale-pr-message: "This PR has had no activity for 30 days and has been marked stale. It will be closed in 7 days if no further activity occurs." + stale-pr-message: "This PR has had no activity for 7 days and has been marked stale. It will be closed in 7 days if no further activity occurs." close-pr-message: "Closing this PR due to inactivity. Feel free to reopen if you'd like to continue the work." exempt-pr-labels: "no stale,security" exempt-draft-pr: false From 40218a8271e62c2435e84750632952db3b2ff478 Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Tue, 21 Jul 2026 21:11:05 -0700 Subject: [PATCH 2/2] mention monorepo move in stale PR message --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 07f85c5107..ec6af60c68 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -22,7 +22,7 @@ jobs: days-before-issue-stale: -1 days-before-issue-close: -1 stale-pr-label: stale - stale-pr-message: "This PR has had no activity for 7 days and has been marked stale. It will be closed in 7 days if no further activity occurs." + stale-pr-message: "This PR has had no activity for 7 days and has been marked stale. We are moving to the monorepo and tightening PR staleness in preparation, so it will be closed in 7 days if no further activity occurs." close-pr-message: "Closing this PR due to inactivity. Feel free to reopen if you'd like to continue the work." exempt-pr-labels: "no stale,security" exempt-draft-pr: false