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
29 changes: 29 additions & 0 deletions .github/workflows/ai-code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: AI Code Review

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write

steps:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 The Roast: You're running a code review action without checking out the code first. That's like sending a food critic to review a restaurant but not letting them inside. The action runs dist/out.js which almost certainly needs access to your repository files, but right now it's going to be staring at an empty workspace wondering where all the code went.

🩹 The Fix:

Suggested change
steps:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run AI Code Review
uses: Daltonganger/AI-Code-Review@v1.4.0

📏 Severity: warning

- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Run AI Code Review
uses: Daltonganger/AI-Code-Review@v1.4.4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AI_PROVIDER: 'codex'
CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }}
CODEX_API_MODEL: 'gpt-5.4'
CODEX_API_BASE_URL: 'https://codex.2631.eu/v1'
REVIEW_LANGUAGE: 'en'
Loading