Commit Graph
1 Commits
Author SHA1 Message Date
Kris Austin 01adacf334 Post 14-day notices on long-inactive PRs (#17886)
stale.yml now starts with a step that posts a notice on PRs that have
been inactive for a long time and adds the labels the stale step needs
to close them 14 days later. It covers PRs waiting on their author for
90 days, PRs with conflicts for 90 days, PRs nobody on the team has
answered for 180 days, and drafts with no activity for 180 days.

The day counts and the nightly notice limit are set once in the job's
environment and used by both steps. A manual run can preview, post or
skip the notices. The notice step logs the REST and GraphQL rate limits
when it finishes.

Drafts are no longer exempt in stale.yml, because the notice step
removes "wait for response" from drafts that have no open notice. The
stale PR messages and CONTRIBUTING describe the new rules.
2026-11-25 09:10:02 -06:00