|
|
@@ -0,0 +1,29 @@
|
|
|
+name: "Auto-close stale issues"
|
|
|
+
|
|
|
+on:
|
|
|
+ schedule:
|
|
|
+ - cron: "30 1 * * *" # Daily at 1:30 AM
|
|
|
+ workflow_dispatch:
|
|
|
+
|
|
|
+jobs:
|
|
|
+ stale:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ permissions:
|
|
|
+ issues: write
|
|
|
+ steps:
|
|
|
+ - uses: actions/stale@v10
|
|
|
+ with:
|
|
|
+ days-before-stale: 90
|
|
|
+ days-before-close: 7
|
|
|
+ stale-issue-label: "stale"
|
|
|
+ close-issue-message: |
|
|
|
+ [automated] Closing due to 90+ days of inactivity.
|
|
|
+
|
|
|
+ Feel free to reopen if you still need this!
|
|
|
+ stale-issue-message: |
|
|
|
+ [automated] This issue has had no activity for 90 days.
|
|
|
+
|
|
|
+ It will be closed in 7 days if there's no new activity.
|
|
|
+ remove-stale-when-updated: true
|
|
|
+ exempt-issue-labels: "pinned,security,feature-request,on-hold"
|
|
|
+ start-date: "2025-12-27"
|