mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Use git config --global to setup repo
This commit is contained in:
parent
983b799941
commit
6c72ab7799
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user