workflows: don't make new branch track master

This commit is contained in:
Bo Anderson 2021-09-10 19:01:19 +01:00
parent 9692364211
commit aebcd5fdd4
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ jobs:
git checkout "$BRANCH" git checkout "$BRANCH"
git reset --hard origin/master git reset --hard origin/master
else else
git checkout -B "$BRANCH" origin/master git checkout --no-track -B "$BRANCH" origin/master
fi fi
if brew typecheck --update --fail-if-not-changed; then if brew typecheck --update --fail-if-not-changed; then

View File

@ -41,7 +41,7 @@ jobs:
git checkout "$BRANCH" git checkout "$BRANCH"
git reset --hard origin/master git reset --hard origin/master
else else
git checkout -B "$BRANCH" origin/master git checkout --no-track -B "$BRANCH" origin/master
fi fi
if brew update-license-data --fail-if-not-changed; then if brew update-license-data --fail-if-not-changed; then

View File

@ -48,7 +48,7 @@ jobs:
git checkout "$BRANCH" git checkout "$BRANCH"
git reset --hard origin/master git reset --hard origin/master
else else
git checkout -B "$BRANCH" origin/master git checkout --no-track -B "$BRANCH" origin/master
fi fi
if [ "${{github.event_name}}" != "push" ]; then if [ "${{github.event_name}}" != "push" ]; then