Skip to content

Commit 7e89e38

Browse files
JOYclaude
andcommitted
fix: delete stale sync branch before push in upstream sync workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 677fa34 commit 7e89e38

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/sync-upstream.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
# Stage everything including conflict markers
113113
git add -A
114114
git commit -m "WIP: Merge upstream $TAG (has conflicts)" --no-verify || true
115+
git push origin --delete "$BRANCH" 2>/dev/null || true
115116
git push origin "$BRANCH"
116117
117118
gh pr create \

0 commit comments

Comments
 (0)