summaryrefslogtreecommitdiffhomepage
path: root/script/github/close-issues.ts
diff options
context:
space:
mode:
authorNacai <[email protected]>2026-04-17 00:01:35 +0800
committerGitHub <[email protected]>2026-04-16 11:01:35 -0500
commit8c0205a84ab225e6901eff92e6a589e8fc88b679 (patch)
treea3737c0ca5166dbbfa385d6e0bad6d4a56741e6d /script/github/close-issues.ts
parent378c05f202b0fda6561451a93639712a11400972 (diff)
downloadopencode-8c0205a84ab225e6901eff92e6a589e8fc88b679.tar.gz
opencode-8c0205a84ab225e6901eff92e6a589e8fc88b679.zip
fix: align stale bot message with actual 60-day threshold (#22842)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: rekram1-node <[email protected]>
Diffstat (limited to 'script/github/close-issues.ts')
-rwxr-xr-xscript/github/close-issues.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/github/close-issues.ts b/script/github/close-issues.ts
index 7b38bf675..e8f0573eb 100755
--- a/script/github/close-issues.ts
+++ b/script/github/close-issues.ts
@@ -2,8 +2,7 @@
const repo = "anomalyco/opencode"
const days = 60
-const msg =
- "To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one."
+const msg = `To stay organized issues are automatically closed after ${days} days of no activity. If the issue is still relevant please open a new one.`
const token = process.env.GITHUB_TOKEN
if (!token) {