Use git config --global to setup repo

This commit is contained in:
Stefan Zweifel 2020-11-25 20:21:26 +01:00
parent 983b799941
commit 6c72ab7799

View File

@ -62,8 +62,10 @@ _setup_local_repository() {
cd "${FAKE_LOCAL_REPOSITORY}"; cd "${FAKE_LOCAL_REPOSITORY}";
# Configure Git # Configure Git
git config user.email "test@github.com" if [[ -z $(git config user.name) ]]; then
git config user.name "Test Suite" git config --global user.email "test@github.com"
git config --global user.name "Test Suite"
fi
} }
# Run the main code related to this GitHub Action # Run the main code related to this GitHub Action