[CI] Correct Branches Comparision in Upmerge Workflow#16919
[CI] Correct Branches Comparision in Upmerge Workflow#16919NoResponseMate merged 1 commit intoSylius:2.1from
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands:
|
e8bfdf0 to
c433a8e
Compare
WalkthroughAdded a diff-check step that compares the target branch to the base and emits Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Trigger as GitHub Actions
participant WF as upmerge_pr workflow
participant Git as git fetch
participant Diff as diff check step
participant PR as Create Pull Request step
Trigger->>WF: workflow starts
WF->>Git: fetch target/base branches
WF->>Diff: run diff (emit has_diff)
alt has_diff == 'true'
Note right of WF#lightblue: condition true
WF->>PR: run Create Pull Request
PR-->>WF: PR created / completed
else has_diff == 'false'
Note right of WF#lightgrey: condition false
WF-->>WF: skip PR creation
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/upmerge_pr.yaml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
- GitHub Check: End-to-end tests (MySQL) / JS with Panther, PHP 8.4, Symfony ^7.3 (test_cached), MySQL 8.4, Twig ^3.3
- GitHub Check: End-to-end tests (MySQL) / JS with Panther, PHP 8.3, Symfony ^6.4 (test_cached), MySQL 8.0, Twig ^3.3
- GitHub Check: End-to-end tests (MySQL) / Non-JS, PHP 8.3, Symfony ^6.4 (test_cached), MySQL 8.0, Twig ^3.3
- GitHub Check: End-to-end tests (MySQL) / JS with Chromedriver, PHP 8.4, Symfony ^7.3 (test_cached), MySQL 8.4, Twig ^3.3
- GitHub Check: End-to-end tests (MySQL) / JS with Chromedriver, PHP 8.3, Symfony ^6.4 (test_cached), MySQL 8.0, Twig ^3.3
- GitHub Check: End-to-end tests (MySQL) / Non-JS, PHP 8.4, Symfony ^7.3 (test_cached), MySQL 8.4, Twig ^3.3
- GitHub Check: End-to-end tests (PostgreSQL) / Non-JS, PHP 8.4, Symfony ^7.3, PostgreSQL 17.5
- GitHub Check: End-to-end tests (PostgreSQL) / Non-JS, PHP 8.3, Symfony ^6.4, PostgreSQL 15.13
- GitHub Check: End-to-end tests (MariaDB) / Non-JS, PHP 8.4, Symfony ^7.3, MariaDB 11.4.7, State Machine Adapter symfony_workflow, ApiPlatform ~4.1.7
- GitHub Check: End-to-end tests (MariaDB) / Non-JS, PHP 8.4, Symfony ^7.3, MariaDB 11.4.7, State Machine Adapter symfony_workflow
- GitHub Check: End-to-end tests (MariaDB) / Non-JS, PHP 8.3, Symfony ^6.4, MariaDB 10.11.13, State Machine Adapter winzou_state_machine
c433a8e to
f1b3c9f
Compare
Summary
This PR fixes the upmerge workflow failing when there are no commits between branches by adding
continue-on-error: trueto the Create Pull Request step.When branches are already in sync (no commits to upmerge), the workflow will now complete successfully instead of failing with "No commits between X and Y" error:

Changes
continue-on-error: trueflag to the "Create Pull Request" step in the upmerge workflowSummary by CodeRabbit