From ee97848b7a85df04caa866fcc4255086bb8f1a88 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 10:42:38 +0000 Subject: [PATCH 1/7] =?UTF-8?q?fix(gitea=20workflows):=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20CI=20=E6=AC=8A=E9=99=90=E8=88=87=20CD=20release-tag?= =?UTF-8?q?=20=E7=89=88=E6=9C=AC=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/cd.yaml | 7 +------ .gitea/workflows/ci.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 7b9122c..c258dc6 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -9,9 +9,4 @@ jobs: runs-on: ubuntu steps: - name: Release Tag - uses: https://gitea.jsc.idv.tw/composite-actions/release-tag@${{ vars.ACTION_VERSION_CALCULATE_VERSION }} - with: - gitea_token: ${{ secrets.GITEA_TOKEN }} - gitea_release: ${{ vars.ACTION_GITEA_RELEASE_VERSION }} - version_calculate: ${{ vars.ACTION_VERSION_CALCULATE_VERSION }} - release_cleanup: ${{ vars.ACTION_RELEASE_CLEANUP_VERSION }} + uses: https://gitea.jsc.idv.tw/composite-actions/release-tag@${{ vars.ACTION_RELEASE_TAG_VERSION }} diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c80bf56..21895bf 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -4,14 +4,14 @@ on: branches-ignore: - master types: [opened, synchronize] -permissions: - contents: write - pull-requests: write - issues: write jobs: ai-code-review: name: Code Review runs-on: ubuntu + permissions: + contents: write + pull-requests: write + issues: write steps: - name: Code Review uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }} -- 2.53.0 From 88fb088eb4bad96bc2e162f0961edef69ebcda7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B3=BB=E7=B5=B1=E7=AE=A1=E7=90=86=E5=93=A1?= <1+admin@noreply.localhost> Date: Thu, 25 Jun 2026 13:48:44 +0000 Subject: [PATCH 2/7] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 2574f87..0ef4da5 100644 --- a/action.yaml +++ b/action.yaml @@ -1,5 +1,5 @@ name: 'AI Code Review' -description: 'AI Code Review' +description: 'AI 程式碼審查' author: 'Jeffery' inputs: opencode_base_url: -- 2.53.0 From 108f3cb58a473bd857df25c1fa8bd7a6ed20c4b4 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 13:59:53 +0000 Subject: [PATCH 3/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/cd.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/cd.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index c258dc6..123f3f1 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -4,9 +4,9 @@ on: branches: - master jobs: - release-tag: - name: Release Tag + release-tag-version: + name: Release Tag Version runs-on: ubuntu steps: - - name: Release Tag - uses: https://gitea.jsc.idv.tw/composite-actions/release-tag@${{ vars.ACTION_RELEASE_TAG_VERSION }} + - name: Release Tag Version + uses: https://gitea.jsc.idv.tw/composite-actions/release-tag-version@${{ vars.ACTION_RELEASE_TAG_VERSION }} -- 2.53.0 From deb35dce155dc1fc3d0e5df1af3e63252956b258 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 14:04:38 +0000 Subject: [PATCH 4/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/ci.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 21895bf..e8d3e18 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -6,12 +6,12 @@ on: types: [opened, synchronize] jobs: ai-code-review: - name: Code Review + name: AI Code Review runs-on: ubuntu permissions: contents: write pull-requests: write issues: write steps: - - name: Code Review + - name: AI Code Review uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }} -- 2.53.0 From 6666cfeaa22dbc4ff4c51d95d3b926ffbf7a5613 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 14:09:19 +0000 Subject: [PATCH 5/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/ci.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index e8d3e18..1632a3a 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -13,5 +13,5 @@ jobs: pull-requests: write issues: write steps: - - name: AI Code Review + - name: AI 程式碼審查 uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }} -- 2.53.0 From acec3f2837e9e222a5a4dcc0c3ce5f5b43c4d8f1 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 14:10:46 +0000 Subject: [PATCH 6/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/cd.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 123f3f1..30b1952 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -8,5 +8,5 @@ jobs: name: Release Tag Version runs-on: ubuntu steps: - - name: Release Tag Version + - name: 釋出並標註成品版本 uses: https://gitea.jsc.idv.tw/composite-actions/release-tag-version@${{ vars.ACTION_RELEASE_TAG_VERSION }} -- 2.53.0 From 1a0d2b7b9b798ef2fdcd580eb59ed4bf96873ba7 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 14:42:59 +0000 Subject: [PATCH 7/7] =?UTF-8?q?fix(action=20entrypoint):=20=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20Docker=20action=20=E5=95=9F=E5=8B=95=E6=99=82?= =?UTF-8?q?=E7=9A=84=20app=20=E8=B7=AF=E5=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 227ea62..5aa28d5 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,4 +3,4 @@ set -e echo "🚀 AI Code Review Action 啟動" -exec node /action/app/main.js +exec node /app/main.js -- 2.53.0