fix(gitea workflows): 修正 CI 權限與 CD release-tag 版本設定

This commit is contained in:
2026-06-25 10:42:38 +00:00
parent 91f86369c4
commit ee97848b7a
2 changed files with 5 additions and 10 deletions
+1 -6
View File
@@ -9,9 +9,4 @@ jobs:
runs-on: ubuntu runs-on: ubuntu
steps: steps:
- name: Release Tag - name: Release Tag
uses: https://gitea.jsc.idv.tw/composite-actions/release-tag@${{ vars.ACTION_VERSION_CALCULATE_VERSION }} uses: https://gitea.jsc.idv.tw/composite-actions/release-tag@${{ vars.ACTION_RELEASE_TAG_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 }}
+4 -4
View File
@@ -4,14 +4,14 @@ on:
branches-ignore: branches-ignore:
- master - master
types: [opened, synchronize] types: [opened, synchronize]
permissions:
contents: write
pull-requests: write
issues: write
jobs: jobs:
ai-code-review: ai-code-review:
name: Code Review name: Code Review
runs-on: ubuntu runs-on: ubuntu
permissions:
contents: write
pull-requests: write
issues: write
steps: steps:
- name: Code Review - name: Code Review
uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }} uses: https://gitea.jsc.idv.tw/composite-actions/opencode-code-review@${{ vars.ACTION_AI_CODE_REVIEW_VERSION }}