From a4a0f75ebc2c8c4adb09714d8afcc4d903712cb8 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 14:56:19 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20action.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 0ef4da5..7873e0f 100644 --- a/action.yaml +++ b/action.yaml @@ -2,6 +2,9 @@ name: 'AI Code Review' description: 'AI 程式碼審查' author: 'Jeffery' inputs: + comment_token: + description: '' + required: true opencode_base_url: description: 'OpenCode server Base URL' required: false @@ -18,7 +21,7 @@ runs: GITEA_SERVER_URL: ${{ gitea.server_url }} GITEA_REPOSITORY: ${{ gitea.repository }} GITEA_TOKEN: ${{ gitea.token }} - GITEA_COMMENT_TOKEN: ${{ gitea.token }} + GITEA_COMMENT_TOKEN: ${{ inputs.comment_token }} PR_NUMBER: ${{ gitea.event.pull_request.number }} PR_HEAD_SHA: ${{ gitea.event.pull_request.head.sha }} PR_HEAD_BRANCH: ${{ gitea.event.pull_request.head.ref }}