Skip to content

fix(sync): unique branch per run to avoid stale-branch collisions#11

Merged
acebot712 merged 1 commit intomainfrom
fix/sync-unique-branch-per-run
Apr 18, 2026
Merged

fix(sync): unique branch per run to avoid stale-branch collisions#11
acebot712 merged 1 commit intomainfrom
fix/sync-unique-branch-per-run

Conversation

@acebot712
Copy link
Copy Markdown
Owner

Companion: same fix in promptguard-node.

Date-based branch name (auto/sync-api-types-YYYYMMDD) collides with
itself if a same-day run failed and left the branch behind. Use
${{ github.run_id }} so every run gets its own branch.

Discovered after the prior 'git identity' fix unblocked the workflow,
which then died on 'failed to push' because the branch from the broken
run still existed on the remote.
@acebot712 acebot712 merged commit 1fea749 into main Apr 18, 2026
8 checks passed
@acebot712 acebot712 deleted the fix/sync-unique-branch-per-run branch April 18, 2026 23:20
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.

1 participant