workflows: don't make new branch track master
This commit is contained in:
parent
9692364211
commit
aebcd5fdd4
2
.github/workflows/sorbet.yml
vendored
2
.github/workflows/sorbet.yml
vendored
@ -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
|
||||||
|
|||||||
2
.github/workflows/spdx.yml
vendored
2
.github/workflows/spdx.yml
vendored
@ -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
|
||||||
|
|||||||
2
.github/workflows/update-man-completions.yml
vendored
2
.github/workflows/update-man-completions.yml
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user