Skip to content

refactor: Refactor compare-ver common custom command #3

refactor: Refactor compare-ver common custom command

refactor: Refactor compare-ver common custom command #3

Workflow file for this run

# Description:
# - DeepSeek code review with GitHub Actions
name: Code Review
on:
pull_request_target:
types:
- 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:
pull-requests: write
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
with:
max-length: 10000
chat-token: ${{ secrets.CHAT_TOKEN }}