Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: handle stale issues and prs #1547

Merged
merged 1 commit into from
Jan 31, 2025
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
24 changes: 19 additions & 5 deletions .github/workflows/repo-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,29 @@ jobs:
steps:
- uses: actions/stale@v9
with:
days-before-stale: 14
days-before-close: 60
any-of-labels: 'cant-reproduce,not a bug'
stale-issue-label: stale
stale-pr-label: stale
start-date: 2023-04-26
operations-per-run: 300
remove-stale-when-updated: true
days-before-issue-stale: 14
days-before-issue-close: 14 # days after the issue is marked as stale
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
close-issue-message: >
This issue has been automatically closed because it has not had
recent activity. Please add a comment if you want to get this issue re-opened. Thank you
for your contributions.
stale-issue-label: stale # adds a label
exempt-issue-labels: 'acknowledged, contribution needed' # exclude issues with label
days-before-pr-stale: 14
days-before-pr-close: -1 # never close prs
stale-pr-label: stale # adds a label
any-of-pr-labels: 'changes requested' # only consider prs with this label
stale-pr-message: >
This pull-request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

lock-threads:
name: 'Lock Old Threads'
Expand Down