Fix sync workflow to only trigger on v12.0 pushes and add concurrency control#827
Merged
BenjaminMichaelis merged 3 commits intov12.0from Sep 10, 2025
Merged
Conversation
… control Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Limit sync workflow to v12.0 pushes and add concurrency for v12.0 → v13.0
Fix sync workflow to only trigger on v12.0 pushes and add concurrency control
Aug 24, 2025
BenjaminMichaelis
approved these changes
Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The current sync workflow triggers on pushes to both
v12.0andv13.0branches but always mergesv12.0→v13.0regardless of which branch triggered it. This causes:v13.0(since it doesn't need to sync anywhere)The goal is one-way forward sync only: changes to
v12.0should merge intov13.0, but changes tov13.0should not trigger the workflow.Solution
Updated
.github/workflows/sync-version-branches.ymlto implement proper one-way sync:Key Changes
v12.0branch (removedv13.0)workflow_dispatchfor manual runs when neededsync-v12-to-v13withcancel-in-progress: trueto prevent overlapping operationsPreserved Settings
jojomatik/sync-branch@v2.0.2)Benefits
v13.0pushesTesting
After merging, pushes to
v12.0will trigger the sync tov13.0, while pushes tov13.0will not trigger any sync operations.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.