Branch sync - only sync when there is a difference to avoid errors.

pull/1781/head
Roger A. Light 5 years ago
parent 0ac46c2d2a
commit a38cb3bf51

@ -13,7 +13,13 @@ jobs:
with:
fetch-depth: 0
- run: |
git diff --exit-code -s origin/coverity-fixes origin/fixes
if [ "$?" = "1" ]; then
git checkout -b coverity-fixes origin/fixes
git push origin coverity-fixes
fi
git diff --exit-code -s origin/coverity-develop origin/develop
if [ "$?" = "1" ]; then
git checkout -b coverity-develop origin/develop
git push origin coverity-develop
fi

Loading…
Cancel
Save