docs(token): 收斂 token 權限建議並移除 README 行號連結

This commit is contained in:
Jeffery
2026-07-28 14:02:18 +08:00
parent 885b79f8b3
commit 2d3128eb45
3 changed files with 55 additions and 55 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
# ============================================================================
# 用途:定義 AI Code Review Node action 的名稱、輸入參數與 Node.js 24 進入點,供 Gitea / GitHub workflow 以 uses 引用。
# 更新時間:2026/07/21 17:19:15
# 更新時間:2026/07/28 13:57:24
# ============================================================================
# Gitea / GitHub node action 的 manifestaction.yml):
# 定義本 action 的名稱、說明、輸入參數(inputs)與執行方式(runs),
@@ -19,8 +19,8 @@ inputs:
# Gitea API token:用於對 PRissue 留言審查結果,以及 push 審查結果檔(findingsexclusions)回 repo。
token:
# 參數用途說明:secrets/vars context 在 action 內不可用,故由呼叫端 workflow 以 secrets 傳入。
# 建議傳入能觸發 CI 的 PAT;自動 token 推送結果 commit 時可能不會再觸發 workflow
description: 'Gitea API tokenPRissue 留言與 push findings 用;建議以能觸發 CI 的 PAT 由 secrets 傳入)'
# 建議使用 repo 限定、最小權限且可輪替的 token;不得在不受信任 fork PR 暴露可寫入 token
description: 'Gitea API tokenPRissue 留言與 push findings 用;請以 repo 限定、最小權限且可輪替的 secrets 傳入)'
# 必填:缺少 token 無法呼叫 Gitea APIaction 無法運作。
required: true
# 指定 AI 工具使用的模型名稱。