Support range format #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deepseek Code Review | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened # Triggers when a PR is opened | |
| issue_comment: | |
| types: | |
| - created | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| setup-deepseek-review: | |
| if: | | |
| github.event_name == 'pull_request_target' || | |
| ( | |
| github.event_name == 'issue_comment' && | |
| github.event.issue.pull_request && | |
| startsWith(github.event.comment.body, '/review') | |
| ) | |
| runs-on: ubuntu-latest | |
| name: Code Review | |
| steps: | |
| - name: DeepSeek Code Review | |
| uses: hustcer/deepseek-review@v1 | |
| with: | |
| chat-token: ${{ secrets.DEEPSEEK_CHAT_TOKEN }} | |
| model: deepseek-v4-flash |