summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-12-27 00:50:59 -0600
committerAiden Cline <[email protected]>2025-12-27 00:51:05 -0600
commit4667d57e3c351a168789edfea0bbf440220adfc5 (patch)
treec08d86ee916b682fad48ba308983736868c25690 /.github
parente6b9988fa4913d25fe2f6bf5b0f3b7218f8c8e7e (diff)
downloadopencode-4667d57e3c351a168789edfea0bbf440220adfc5.tar.gz
opencode-4667d57e3c351a168789edfea0bbf440220adfc5.zip
ci: stale issues
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/stale-issues.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml
new file mode 100644
index 000000000..d41e8e60c
--- /dev/null
+++ b/.github/workflows/stale-issues.yml
@@ -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"