mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
## Summary - Optimize the main-to-canary sync workflow to directly merge and push when there are no conflicts, avoiding unnecessary PR creation - When merge conflicts exist, fall back to creating a PR for manual resolution - Add duplicate PR detection to prevent multiple PRs on the same day ## Test plan - [ ] Push to main with no conflicts on canary → should auto-merge without PR - [ ] Push to main with conflicts on canary → should create PR - [ ] Trigger workflow twice on same day with conflicts → should not create duplicate PRs ## Summary by Sourcery CI: - Update the sync-main-to-canary workflow to merge main into canary directly on no-conflict updates, only creating a PR when merge conflicts occur and avoiding duplicate PRs for the same sync date.