Files
calculate-version/.gitea/workflows/review.yaml
T
2026-06-23 17:19:31 +08:00

24 lines
659 B
YAML

name: AI
on:
pull_request:
branches-ignore:
- master
types: [opened, synchronize]
jobs:
code-review:
name: Code Review
runs-on: ubuntu
steps:
- name: AI Code Review
uses: https://gitea.jsc.idv.tw/actions/code-review@${{ vars.ACTION_CODE_REVIEW_VERSION }}
with:
GITEA_TOKEN: ${{ secrets.RUNNER_TOKEN }}
GITEA_COMMENT_TOKEN: ${{ secrets.GITEA_TOKEN }}
OPENCODE_BASE_URL: ${{ vars.OPENCODE_BASE_URL }}
OPENCODE_PROVIDER: ${{ vars.OPENCODE_PROVIDER }}
OPENCODE_MODEL: ${{ vars.GEMINI_MODEL }}
permissions:
contents: write
pull-requests: write
issues: write