From 034c1ce67b429fbd6f71fdbda3841db811dea401 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Thu, 25 Jun 2026 10:57:32 +0000 Subject: [PATCH] =?UTF-8?q?chore(Gitea=20Actions):=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E7=A8=8B=E8=B7=AF=E5=BE=91=E8=88=87?= =?UTF-8?q?=E7=99=BC=E7=89=88=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 | 17 ----------------- .gitea/workflows/cd.yaml | 12 ++++++++++++ .../ workflows => .gitea/workflows}/ci.yaml | 8 ++++---- 3 files changed, 16 insertions(+), 21 deletions(-) delete mode 100644 .gitea / workflows/cd.yaml create mode 100644 .gitea/workflows/cd.yaml rename { .gitea / workflows => .gitea/workflows}/ci.yaml (78%) diff --git a/ .gitea / workflows/cd.yaml b/ .gitea / workflows/cd.yaml deleted file mode 100644 index 7b9122c..0000000 --- a/ .gitea / workflows/cd.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: CD -on: - push: - branches: - - master -jobs: - release-tag: - name: Release Tag - 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 }} diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml new file mode 100644 index 0000000..c258dc6 --- /dev/null +++ b/.gitea/workflows/cd.yaml @@ -0,0 +1,12 @@ +name: CD +on: + push: + branches: + - master +jobs: + release-tag: + name: Release Tag + runs-on: ubuntu + steps: + - name: Release Tag + 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 similarity index 78% rename from .gitea / workflows/ci.yaml rename to .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 }}