23 lines
660 B
YAML
23 lines
660 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 |