Skip to content

Commit a51c652

Browse files
committed
ops: fix workflow git issue
1 parent f3d8b7b commit a51c652

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: .github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ jobs:
181181

182182

183183
echo "Cleaning up temporary local branch..."
184+
# Switch away from the branch before deleting it
185+
git checkout --detach
184186
git branch -D changelog-update
185187
echo "Pushing changelog commit to remote main branch..."
186188
# Push the new local branch specifically to the remote *branch* main

0 commit comments

Comments
 (0)