瀏覽代碼

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 <rekram1-node@users.noreply.github.com>
Nacai 4 月之前
父節點
當前提交
8c0205a84a
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      script/github/close-issues.ts

+ 1 - 2
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) {