Skip to content

Commit eeb775f

Browse files
authored
Merge pull request #4946 from github/dooleydevin/stale-configuration
Tighten stale PR policy to 30 days plus a 14-day warning
2 parents 36e3c82 + 78597e2 commit eeb775f

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

‎.github/workflows/stale.yml‎

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Stale
22

3-
# **What it does**: Close pull requests after no updates for 180 days.
3+
# **What it does**: Mark pull requests stale after 30 inactive days and close them after 14 more.
44
# **Why we have it**: This repository gets a lot of PRs, and the maintainers team is small.
55
# This helps reduce the open PRs to ones that are most desired by the community.
66
# **Who does it impact**: Contributors and maintainers of github/gitignore.
@@ -21,12 +21,20 @@ jobs:
2121
steps:
2222
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
2323
with:
24-
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.'
25-
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.'
26-
days-before-stale: 90
27-
days-before-close: 365
24+
stale-pr-message: >
25+
This PR has had no activity for 30 days. It will close in 14 days
26+
unless there is further activity. Please leave a comment if you
27+
want to continue working on it.
28+
close-pr-message: >
29+
This PR has been closed after 14 days without activity following
30+
the stale notice. If you want to continue working on it, please
31+
open a new PR referencing this one.
32+
days-before-pr-stale: 30
33+
days-before-pr-close: 14
34+
days-before-issue-stale: -1
35+
days-before-issue-close: -1
2836
stale-pr-label: 'stale'
2937
exempt-pr-labels: 'keep'
30-
close-issue-reason: not_planned
38+
remove-pr-stale-when-updated: true
3139
ascending: true # Sort PRs by last updated date in ascending order
3240
operations-per-run: 300

0 commit comments

Comments
 (0)