Merge pull request #19053 from Homebrew/fix-sponsors-maintainers-man-completions-workflow

workflows/sponsors-maintainers-man-completions: force checkout.
This commit is contained in:
Mike McQuaid 2025-01-08 14:14:57 +00:00 committed by GitHub
commit 4e086a7fe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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