From c1282fa88fa014486531ee49a8f952e2c801198c Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sat, 19 Jan 2019 00:38:40 +0800 Subject: [PATCH] Fix condition to set auto PR committer/author Git user name was already set to "Travis CI User" with its example email --- generate-stackbrew-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-stackbrew-pr.sh b/generate-stackbrew-pr.sh index d5e3baef..387dfae0 100755 --- a/generate-stackbrew-pr.sh +++ b/generate-stackbrew-pr.sh @@ -104,7 +104,7 @@ if images_updated "${COMMIT_RANGE}"; then permission_check # Set Git User Info - [ -z "$(git config user.name)" ] && [ -z "$GIT_AUTHOR_NAME" ] && setup_git_author + [ -z "$GIT_AUTHOR_NAME" ] && setup_git_author info "Cloning..." git clone --depth 50 "https://github.com/${UPSTREAM_SLUG}.git" ${gitpath} 2> /dev/null