diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 7b9122c..30b1952 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -4,14 +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_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 }} + - name: 釋出並標註成品版本 + uses: https://gitea.jsc.idv.tw/composite-actions/release-tag-version@${{ vars.ACTION_RELEASE_TAG_VERSION }} diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index c80bf56..1632a3a 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 + name: AI Code Review runs-on: ubuntu + permissions: + contents: write + pull-requests: write + issues: write steps: - - name: Code Review + - name: AI 程式碼審查 uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }} 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: 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