Skip to content

fix(ci): skip Claude reviews on draft PRs - #38

Merged
tomcasaburi merged 2 commits into
masterfrom
codex/fix/skip-claude-draft-prs
Nov 18, 2026
Merged

tomcasaburi merged 2 commits into
masterfrom
codex/fix/skip-claude-draft-prs

Conversation

@tomcasaburi

@tomcasaburi tomcasaburi commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Add a job-level draft check so GitHub skips the Claude review job before it starts a runner or uses the subscription. The existing ready-for-review trigger starts the job once the PR is marked ready. The existing same-repository and human-actor checks still apply.

Verified with actionlint and GitHub's expression evaluator for draft, ready, fork, and bot events.

Summary by CodeRabbit

  • Chores
    • Automated code reviews now skip draft pull requests.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mintpass-org Ready Ready Preview Nov 18, 2026 12:26pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T12:25:05.890881Z e254a0f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 997883a7-c23e-409d-8b7d-677d0b9721d4
Commits

Reviewing files that changed from the base of the PR and between e254a0f and b63d8ff.

Files selected for processing: 1

  • .github/workflows/claude-code-review.yml

No actionable comments were generated in the recent review.

Walkthrough

The review workflow now skips draft pull requests. It continues to require a same-repository pull request and a non-bot actor.

Changes: Review workflow

Layer / File(s) Summary
Review job condition
.github/workflows/claude-code-review.yml
The job condition now excludes draft pull requests while retaining the same-repository and non-bot requirements.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: Minimal · previous review e254a

Claude review runs are now skipped on draft pull requests, and the existing repository and actor restrictions still apply. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "fix(ci): skip Claude reviews on draft PRs" matches the only change in the changeset. The review job in .github/workflows/claude-code-review.yml now skips draft pull requests, and the title …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(ci): skip Claude reviews on draft PRs" matches the only change in the changeset. The review job in .github/workflows/claude-code-review.yml now skips draft pull requests, and the title states that behavior directly. The title is specific, concise, and conventional-commit formatted. It does not need to mention the unchanged same-repository and non-bot checks.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2d392916-7240-4721-8438-e65d1b18d230
Commits

Reviewing files that changed from the base of the PR and between 17a4761 and e254a0f.

Files selected for processing: 1

  • .github/workflows/claude-code-review.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@tomcasaburi
tomcasaburi merged commit 6f7c08a into master Nov 18, 2026
4 checks passed
@tomcasaburi
tomcasaburi deleted the codex/fix/skip-claude-draft-prs branch November 21, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant