From c6823fa0a71663783053ef13c84ef3c9f3351060 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 26 Jun 2026 12:16:55 +0800 Subject: [PATCH] fix: ci&cd --- .gitea/workflows/cd.yaml | 12 ++++++++++++ .gitea/workflows/ci.yaml | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .gitea/workflows/cd.yaml create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml new file mode 100644 index 0000000..30b1952 --- /dev/null +++ b/.gitea/workflows/cd.yaml @@ -0,0 +1,12 @@ +name: CD +on: + push: + branches: + - master +jobs: + release-tag-version: + name: Release Tag Version + runs-on: ubuntu + steps: + - 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 new file mode 100644 index 0000000..b9d4eed --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,19 @@ +name: CI +on: + pull_request: + branches-ignore: + - master + types: [opened, synchronize] +jobs: + ai-code-review: + name: AI Code Review + runs-on: ubuntu + permissions: + contents: write + pull-requests: write + issues: write + steps: + - name: AI 程式碼審查 by OpenCode + uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_OPENCODE_CODE_REVIEW_VERSION }} + with: + comment_token: ${{ secrets.COMMENT_TOKEN }}