feat(codex-response): 整合 Codex issue 回覆 action #2

Merged
jiantw83 merged 10 commits from ai-review-resolve/develop-20260624-154546 into develop 2026-06-24 16:07:50 +00:00
Showing only changes of commit ae4961921e - Show all commits
+26 -1
View File
@@ -1 +1,26 @@
[]
[
{
"level": "warning",
"role": "Bard",
"location": "action.yml:113",
"problem": "在腳本中直接硬編碼了 Gitea server URL `https://gitea.jsc.idv.tw`,這限制了行動模組的可移植性,若未來更改 Server 位址需動態修改多處程式碼。",
"suggestion": "建議將允許的 Gitea Server URL 設為行動模組的 input 參數,並將此限制提取至組態層級,避免直接硬編碼於執行邏輯內。",
"is_new": true
},
{
"level": "warning",
"role": "Bard",
"location": "action.yml:95",
"problem": "在 `產生 AI 回覆` 的 `with` 區塊中,參數名為 `oauth`,與 `inputs` 定義的 `codex_auth_config` 命名不一致,造成閱讀上的語義斷層。",
"suggestion": "建議將 `with` 區塊中的 `oauth` 重新命名為 `codex_auth_config`,以確保命名與 input 定義的一致性。",
"is_new": true
},
{
"level": "info",
"role": "Bard",
"location": "action.yml:54",
"problem": "在 `cat <<EOF` 的 heredoc 內容中,直接寫入縮排會導致產生的 Prompt 內容包含不必要的左側空白,影響 AI 接收到的格式。",
"suggestion": "建議改用 `cat <<-EOF` 並搭配適當的縮排處理,確保輸出給 AI 的 Prompt 內容乾淨、無不必要的縮排。",
"is_new": true
}
]