Skip to content

fix(sync): sync the CLI's renamed v0.x and v1.x branches - #22

Merged
jariy17 merged 1 commit into
mainfrom
fix/cli-sync-renamed-branches
Nov 10, 2026
Merged

jariy17 merged 1 commit into
mainfrom
fix/cli-sync-renamed-branches

Conversation

@jariy17

@jariy17 jariy17 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Problem

aws/agentcore-cli renamed main to v0.x and refactor to v1.x. The CLI case in reusable-sync-from-public.yml still lists main preview. sync_branch checks each branch with git ls-remote --heads, which doesn't follow GitHub's rename redirect, so it finds neither branch on the public repo, skips both, and the run still reports success. The CLI's private copy has received no public commits since the rename.

Change

The CLI case now syncs v0.x v1.x. The other cases (SDK Python, SDK TypeScript, and the fallback) are unchanged and still sync main, which their public repos still have.

Callers pin this workflow by SHA, so nothing changes for any repo until it bumps its pin. Only the CLI caller needs to bump for this fix.

@jariy17
jariy17 requested a review from a team November 10, 2026 20:08
@jariy17
jariy17 merged commit 5964ecf into main Nov 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants