mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Compare commits
5 Commits
2025-04-21
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b333ffa781 | |||
| 308b95ec13 | |||
| 5f77ce5b4f | |||
| 4da57d42de | |||
| 2777588bb4 |
23
.github/workflows/ai-review.yml
vendored
Normal file
23
.github/workflows/ai-review.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: PR Review
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
review:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: AI Code Review
|
||||||
|
uses: gitea-actions/ai-reviewer@v0.6
|
||||||
|
with:
|
||||||
|
access-token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
full-context-model: "gpt-4o"
|
||||||
|
full-context-api-key: ${{ secrets.OPENAI_API_KEY }}
|
||||||
|
single-chunk-model: "claude-3-5-sonnet"
|
||||||
|
single-chunk-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
|
exclude-files: "*.md,*.yaml"
|
||||||
Reference in New Issue
Block a user