diff --git a/scripts/ci/presubmit-queue-setup.sh b/scripts/ci/presubmit-queue-setup.sh index dd07a3cc48..757d6a3c01 100755 --- a/scripts/ci/presubmit-queue-setup.sh +++ b/scripts/ci/presubmit-queue-setup.sh @@ -11,7 +11,8 @@ if [ "$TRAVIS_REPO_SLUG" = "angular/angular" ]; then git config credential.helper "store --file=.git/credentials" # travis encrypt GITHUB_TOKEN_ANGULAR=??? --repo=angular/angular echo "https://${GITHUB_TOKEN_ANGULAR}:@github.com" > .git/credentials - git config user.name "travis@travis-ci.org" + git config user.name "`git --no-pager show -s --format='%cN' HEAD`" + git config user.email "`git --no-pager show -s --format='%cE' HEAD`" git remote add upstream https://github.com/angular/angular.git git fetch upstream master diff --git a/scripts/ci/presubmit-queue-success.sh b/scripts/ci/presubmit-queue-success.sh index 2fedbd2d0f..7c0393b1c3 100755 --- a/scripts/ci/presubmit-queue-success.sh +++ b/scripts/ci/presubmit-queue-success.sh @@ -41,4 +41,3 @@ EOM fi fi fi -`