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 12e8a06 commit ce726acCopy full SHA for ce726ac
.github/workflows/pull-localization.yml
@@ -74,8 +74,8 @@ jobs:
74
REMOTE_SHA=$(git ls-remote --heads origin ${{ env.HEAD_BRANCH }})
75
if [ -n "${REMOTE_SHA}" ]
76
then
77
- git push origin :${{ env.HEAD_BRANCH }}
78
- echo "::notice::The remote branch (ref_name: ${{ env.HEAD_BRANCH }}, sha: ${REMOTE_SHA})"
+ git push origin --delete ${{ env.HEAD_BRANCH }}
+ echo "::notice::A already-existing remote branch (ref_name: ${{ env.HEAD_BRANCH }}, sha: ${REMOTE_SHA}) was deleted."
79
fi
80
81
git push origin ${{ env.HEAD_BRANCH }}
0 commit comments