File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33PROJECT_LOCKFILE=${PROJECT_LOCKFILE:- " package-lock.json" }
4+ GITHUB_EMAIL=${GITHUB_EMAIL:- " task-runner@circleci" }
5+ GITHUB_NAME=${GITHUB_NAME:- " Circle CI<$GITHUB_EMAIL >" }
46
57# if [[ $TRAVIS_PULL_REQUEST_BRANCH != *"greenkeeper"* ]]; then
68# exit 0
79# fi
810
911echo " " >> $PROJECT_LOCKFILE
1012# if ! git diff-index --quiet HEAD $PROJECT_LOCKFILE --; then
11- # git config user.email "$GITHUB_EMAIL"
12- # git config user.name "Circle CI"
13- # git config push.default simple
13+ git config user.email $GITHUB_EMAIL
14+ git config user.name $GITHUB_NAME
1415
1516 git add $PROJECT_LOCKFILE
16- git commit -m " chore(*): update lockfile [ci skip]" -m " See: $CIRCLE_BUILD_URL " --author= " $GITHUB_AUTHOR "
17+ git commit -m " chore(*): update lockfile [ci skip]" -m " See: $CIRCLE_BUILD_URL "
1718 git push origin $CIRCLE_BRANCH
1819# fi
You can’t perform that action at this time.
0 commit comments