Skip to content

Reduce stale PR inactivity threshold to 14 days - #10879

Merged
timotheeguerin merged 2 commits into
mainfrom
copilot/reduce-stale-pr-duration
Jun 4, 2026
Merged

Reduce stale PR inactivity threshold to 14 days#10879
timotheeguerin merged 2 commits into
mainfrom
copilot/reduce-stale-pr-duration

Conversation

Copilot AI commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

This updates stale PR triage timing so inactive PRs are marked stale after 14 days instead of 30. It also updates the post-stale grace period to 14 days, resulting in a 28-day total inactivity window before automatic closure.

  • Policy timing update

    • Changed initial stale trigger in .github/policies/pr.stale.yml from noActivitySince: 30 to noActivitySince: 14.
    • Updated the first scheduled search description to reflect the 14-day threshold.
    • Changed stale-close trigger from noActivitySince: 30 to noActivitySince: 14 for already-stale PRs.
  • Lifecycle messaging alignment

    • Updated stale notification copy to say closure happens after 14 additional days once marked stale.
    • Updated close notification and description text from 60/44 days to 28 days total inactivity.
# before
- description: Ping user when the PR has not been updated in 30 days
  filters:
    - noActivitySince:
        days: 30

# after
- description: Ping user when the PR has not been updated in 14 days
  filters:
    - noActivitySince:
        days: 14

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Copilot AI changed the title Reduce stale PR threshold from 30 days to 14 days Reduce stale PR inactivity threshold to 14 days Jun 3, 2026
Copilot AI requested a review from timotheeguerin June 3, 2026 19:10
Comment thread .github/policies/pr.stale.yml Outdated
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin
timotheeguerin added this pull request to the merge queue Jun 4, 2026
Merged via the queue into main with commit 3aaaa9f Jun 4, 2026
34 checks passed
@timotheeguerin
timotheeguerin deleted the copilot/reduce-stale-pr-duration branch June 4, 2026 13:37
JennyPng pushed a commit to JennyPng/typespec that referenced this pull request Jun 10, 2026
This updates stale PR triage timing so inactive PRs are marked stale
after 14 days instead of 30. It also updates the post-stale grace period
to 14 days, resulting in a 28-day total inactivity window before
automatic closure.

- **Policy timing update**
- Changed initial stale trigger in `.github/policies/pr.stale.yml` from
`noActivitySince: 30` to `noActivitySince: 14`.
- Updated the first scheduled search description to reflect the 14-day
threshold.
- Changed stale-close trigger from `noActivitySince: 30` to
`noActivitySince: 14` for already-stale PRs.

- **Lifecycle messaging alignment**
- Updated stale notification copy to say closure happens after **14
additional days** once marked stale.
- Updated close notification and description text from 60/44 days to 28
days total inactivity.

```yaml
# before
- description: Ping user when the PR has not been updated in 30 days
  filters:
    - noActivitySince:
        days: 30

# after
- description: Ping user when the PR has not been updated in 14 days
  filters:
    - noActivitySince:
        days: 14
```

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants