1
0
mirror of https://github.com/hustcer/deepseek-review.git synced 2026-05-13 05:16:05 +08:00

feat: Add example of triggering code review by adding ai review label (#60)

* feat: Add example of triggering code review by adding ai review label

* feat: Add example of triggering code review by adding ai review label

* feat: Add example of triggering code review by adding ai review label
This commit is contained in:
Justin Ma
2025-01-31 14:28:37 +08:00
committed by GitHub
parent 00000001ec
commit 522a0174e3
3 changed files with 67 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ on:
- opened # Triggers when a PR is opened
- reopened # Triggers when a PR is reopened
- synchronize # Triggers when a commit is pushed to the PR
- labeled # Triggers when a label is added to the PR
# fix: GraphQL: Resource not accessible by integration (addComment) error
permissions:
@@ -19,6 +20,8 @@ jobs:
setup-deepseek-review:
runs-on: ubuntu-latest
name: Code Review
# Make sure the code review happens only when the PR has the label 'ai review'
if: contains(github.event.pull_request.labels.*.name, 'ai review')
steps:
- name: Deepseek Code Review
uses: hustcer/deepseek-review@develop