Skip to content

Commit 00bedcb

Browse files
committed
Adding a stale bot to close out kind/enhancement issues which haven't seen activity in more than a year.
This is an effort to de-clutter our issues to make prioritization easier.
1 parent b248ad4 commit 00bedcb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Close Stale `kind/enhancement` issues
2+
3+
on:
4+
schedule:
5+
- cron: '0 */4 * * *' # Every 4 hours until we go through all the issues (The action is rate limited). After we go through all the issues we should probably run this once a day or maybe week.
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v9
15+
with:
16+
debug-only: true # Dry-run
17+
exempt-issue-labels: "JIRA" # We don't want to close jira issues as these came from customers
18+
stale-issue-label: "kind/enhancement"
19+
days-before-pr-stale: -1
20+
days-before-pr-close: -1
21+
days-before-issue-stale: 548
22+
days-before-issue-close: 0
23+
close-issue-label: "auto-close"
24+
close-issue-message: "We're closing this enhancement because it hasn't been active nor has been prioritized in over 1.5 years. If this enhancement is still needed in the latest version of Rancher, please re-open and let us know why you think this should be prioritized. Upon this enhancement being re-opened we'll review it and provide an update."

0 commit comments

Comments
 (0)