Tighten stale pull request policy to 30 days plus 14-day warning

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Devin DooleyandCopilot App committed 2026-11-20 13:11:04 -08:00
1 parent 36e3c82ac1
commit 78597e2925
1 file changed
+14 -6
+14 -6
View File
@@ -1,6 +1,6 @@
name: Stale
# **What it does**: Close pull requests after no updates for 180 days.
# **What it does**: Mark pull requests stale after 30 inactive days and close them after 14 more.
# **Why we have it**: This repository gets a lot of PRs, and the maintainers team is small.
# This helps reduce the open PRs to ones that are most desired by the community.
# **Who does it impact**: Contributors and maintainers of github/gitignore.
@@ -21,12 +21,20 @@ jobs:
steps:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
stale-pr-message: 'This PR is stale because there have been no updates in 90 days. It will close after 365 days of inactivity. Leave a comment if you want to keep it open.'
close-pr-message: 'This PR has been closed because it was inactive for 365 days. If you want to continue working on it, please open a new PR.'
days-before-stale: 90
days-before-close: 365
stale-pr-message: >
This PR has had no activity for 30 days. It will close in 14 days
unless there is further activity. Please leave a comment if you
want to continue working on it.
close-pr-message: >
This PR has been closed after 14 days without activity following
the stale notice. If you want to continue working on it, please
open a new PR referencing this one.
days-before-pr-stale: 30
days-before-pr-close: 14
days-before-issue-stale: -1
days-before-issue-close: -1
stale-pr-label: 'stale'
exempt-pr-labels: 'keep'
close-issue-reason: not_planned
remove-pr-stale-when-updated: true
ascending: true # Sort PRs by last updated date in ascending order
operations-per-run: 300