添加 .gitea/workflows/test1.yml
This commit is contained in:
22
.gitea/workflows/test1.yml
Normal file
22
.gitea/workflows/test1.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: ai-reviews
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
review:
|
||||||
|
name: Review PR
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Review code
|
||||||
|
uses: kekxv/AiReviewPR@v0.0.5
|
||||||
|
with:
|
||||||
|
model: 'deepseek-r1:8b'
|
||||||
|
host: 'http://127.0.0.1:11434'
|
||||||
|
REVIEW_PULL_REQUEST: false
|
||||||
Reference in New Issue
Block a user