feat: review action

This commit is contained in:
Tomasz Stefaniak 2025-08-13 17:35:06 -07:00
parent 076dd68c1d
commit 51da968ec8
3 changed files with 7 additions and 13 deletions

View file

@ -17,13 +17,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch full history for better context
- name: Run Continue PR Review Action
uses: ./pr-review-action # Using local action since we're in the same repo
uses: continuedev/continue/pr-review-action@main
with:
continue-api-key: ${{ secrets.CONTINUE_API_KEY }}
continue-org: 'continuedev'

View file

@ -24,9 +24,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: continuedev/continue/pr-review-action@v1
with:
continue-api-key: ${{ secrets.CONTINUE_API_KEY }}
@ -104,9 +101,6 @@ jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: continuedev/continue/pr-review-action@v1
with:
continue-api-key: ${{ secrets.CONTINUE_API_KEY }}
@ -116,7 +110,7 @@ jobs:
## How It Works
1. The action checks out your repository code
1. The action automatically checks out your repository code
2. Installs the Continue CLI (v1.4.25)
3. Fetches the PR diff using GitHub CLI
4. Generates a comprehensive review prompt

View file

@ -16,6 +16,11 @@ inputs:
runs:
using: 'composite'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch full history for better context
- name: Check Authorization
shell: bash
run: |