docs(review): 修正 postSevereToIssue 註解為建問題模式警告/建議逐條留言
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
dae379273a
commit
cfbbbe5f6c
+2
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user