workflows/sponsors-maintainers-man-completions: force checkout.
We haven't run any commands that would have modified the working directory yet so this will better handle issues with stale files.
This commit is contained in:
parent
cbf92f31a8
commit
22433ddd19
@ -70,13 +70,13 @@ jobs:
|
||||
|
||||
if git ls-remote --exit-code --heads origin "${BRANCH}"
|
||||
then
|
||||
git checkout "${BRANCH}"
|
||||
git checkout --force "${BRANCH}"
|
||||
git checkout "README.md" \
|
||||
"docs/Manpage.md" \
|
||||
"manpages/brew.1" \
|
||||
"completions"
|
||||
else
|
||||
git checkout --no-track -B "${BRANCH}" origin/master
|
||||
git checkout --force --no-track -B "${BRANCH}" origin/master
|
||||
fi
|
||||
|
||||
if brew update-sponsors
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user