Skip to content

Add ready_for_review trigger to code review workflow #74

Add ready_for_review trigger to code review workflow

Add ready_for_review trigger to code review workflow #74

Workflow file for this run

name: Code Review
concurrency:
group: code-review-${{ github.event.pull_request.number || github.event.issue.number }}
cancel-in-progress: true # Cancels older runs when new commits arrive
on:
pull_request:
types: [opened, synchronize, reopened, labeled, review_requested, ready_for_review]
issue_comment:
types: [created]
workflow_dispatch:
jobs:
code-review:
runs-on: ubuntu-24.04
if: github.event_name == 'pull_request' || (github.event_name == 'issue_comment' && github.event.issue.pull_request)
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 2
- uses: ./
with:
comment-pr: true
upload-results: true
claude-api-key: ${{ secrets.CLAUDE_API_KEY }}