We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 805133a commit 0795ec6Copy full SHA for 0795ec6
1 file changed
.github/workflows/stable-sync.yml
@@ -58,7 +58,7 @@ jobs:
58
BRANCH_NAME="stable-main-${{ inputs.semver-version }}"
59
if git ls-remote --heads origin "$BRANCH_NAME" | grep -q "$BRANCH_NAME"; then
60
echo "Branch $BRANCH_NAME exists remotely, pushing normally"
61
- git push origin "$BRANCH_NAME" --force
+ git push origin "$BRANCH_NAME" --rebase
62
else
63
echo "Branch $BRANCH_NAME doesn't exist remotely, pushing with --set-upstream"
64
git push --set-upstream origin "$BRANCH_NAME"
0 commit comments