Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/deepseek-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: DeepSeek PR Review

on:
pull_request_target:
types: [opened, reopened, ready_for_review, synchronize]

# The action works with the reviewer GitHub App token only.
permissions: {}

concurrency:
group: deepseek-review-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
review:
# Forks of this repository have no reviewer secrets.
if: github.repository_owner == 'LHCWN'
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
# Reads the diff through the GitHub API; pull request code is never checked out or run.
# Only members of the organization are reviewed, private memberships included;
# drafts and other authors are skipped.
# Reviewer: https://github.com/devnullexile/deepseek-review
- uses: devnullexile/deepseek-review@v1
with:
deepseek-api-key: ${{ secrets.DEEPSEEK_API_KEY }}
client-id: ${{ vars.REVIEW_CLIENT_ID }}
app-private-key: ${{ secrets.REVIEW_APP_PRIVATE_KEY }}
members-only: "true"
Loading