Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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