Repository navigation
ci: skip CI jobs on draft pull requests - #7345
Conversation
PR-triggered workflows now list ready_for_review in their pull_request types and guard each root job with a draft check, so draft PRs run no CI until marked ready. Push, schedule and workflow_dispatch runs are unchanged. Claude code review still runs on drafts.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed.
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. |
ReviewThe change is consistent and does what the description says: each Things worth checking:
Nothing blocking. Looks good to me. 🤖 Generated with Claude Code |
[Medium impact] The PR appears safe to merge. SummaryNine workflows now skip jobs on draft pull requests and start checks when a PR becomes ready for review.
Acknowledged by Reviews (1) · Last reviewed commit: "ci: skip CI jobs on draft pull requests" · Reviewed by Greptile |
Summary
pull_request-triggered workflow (.NET,AOT,CodeQL Advanced,Locale Test,Platform smoke tests,CloudShop Example Tests,Agent Skill,Test Deploy to GitHub Pages,Documentation Link Check) now usestypes: [opened, synchronize, reopened, ready_for_review].if: github.event_name != 'pull_request' || !github.event.pull_request.draft. Draft PRs therefore run no CI jobs; marking a PR ready for review starts the full run.push,scheduleandworkflow_dispatchtriggers behave as before.claude-code-review.ymlis unchanged, so code reviews still run on drafts.Notes
ready_for_reviewrun produces the real results.Test plan
actionlintreports no new findings (only pre-existing custom runner-label warnings).