docs(review): 修正 postSevereToIssue 註解為建問題模式警告/建議逐條留言
node-actions/template: CI / BUILD (pull_request) Successful in 5s
CI / TEST (Antigravity) (pull_request) Failing after 33s
CI / TEST (Claude) (pull_request) Successful in 22s
CI / TEST (Codex) (pull_request) Failing after 2m55s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jeffery
2026-07-20 15:41:17 +08:00
co-authored by Claude Opus 4.8
parent dae379273a
commit cfbbbe5f6c
+2 -1
View File
@@ -728,7 +728,8 @@ ${JSON.stringify(brief)}
* @remarks * @remarks
* 使用情境:建問題模式(input: create-issue)下,`main()`src/index.js)於防守方裁決後 * 使用情境:建問題模式(input: create-issue)下,`main()`src/index.js)於防守方裁決後
* 建立追蹤 issue、寫入情境留言,再以本函式把嚴重問題逐條留言到該 issue; * 建立追蹤 issue、寫入情境留言,再以本函式把嚴重問題逐條留言到該 issue;
* 警告+建議則 {@link templates.othersComment} 彙整成單一表格另發到同一 issue。 * 警告+建議則 {@link postOthersToIssue} 同樣逐條留言到同一 issue(皆可個別回覆),
* 不使用 {@link templates.othersComment} 的單一表格——表格僅用於一般模式(PR)。
*/ */
async function postSevereToIssue({ ctx, gitea, issueNumber, severe }) { async function postSevereToIssue({ ctx, gitea, issueNumber, severe }) {
for (const finding of severe) { for (const finding of severe) {