ci: Fix the git usage in scripts

Thanks, git.
This commit is contained in:
Matthias Clasen 2022-09-09 19:03:43 -04:00 committed by Emmanuele Bassi
parent 821dd26934
commit 4b5ed886ce

View File

@ -4,6 +4,9 @@ set -e
ancestor_horizon=31 # days (one month)
# Recently, git is picky about directory ownership. Tell it not to worry.
git config --global --add safe.directory "$PWD"
# We need to add a new remote for the upstream target branch, since this script
# could be running in a personal fork of the repository which has out of date
# branches.