Repository navigation
fix(ci): skip daily ideation dispatch from non-default refs - #5734
Conversation
|
Warning Review limit reachedYou'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 56 minutes. View limit details
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. |
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. |
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the change limiting daily ideation dispatch to the repository’s default branch.
No open issues 🎉
What changed in this PR
Addresses #5730 by restricting daily ideation dispatch to the repository’s default branch, preventing feature-branch verification runs from launching duplicate production tasks.
Changes:
- Guards the pm-dispatch step while keeping checkout and input validation available on non-default refs.
- Adds preflight assertions for the guard and default/feature branch cases.
- Documents safe feature-branch verification in a workflow comment.
| File | Description |
|---|---|
.github/workflows/jules-daily-codebase-ideation.yml |
Adds the default-branch dispatch guard, validation assertions, and safe-verification comment. |
Review effort: Balanced
Fixes #5730
Problem
A workflow_dispatch from a queue/feature ref can launch a production pm-dispatch session while the scheduled default-branch run is also launching the same daily prompt. The duplicate runs created #5724 and #5727 on 2026-11-05 from refs queue/9572-5499-local-dispatch-action and main, with distinct queue tasks #9775 and #9780.
Change
Verification
Risk
Low. Scheduled runs already use the default branch. Intentional manual dispatches from the default branch keep working; non-default-branch dispatches remain available for setup/input validation but no longer create external sessions/tasks.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.