Skip to content

Commit

Permalink
🔥 Update yarn.lock on greenkeeper PR's
Browse files Browse the repository at this point in the history
no issue

- we have disabled greenkeeper for now
- we would like to bump dependencies with yarn upgrade-interactive --exact
- this removes the logic to add an extra commit to GK pull requests via travis
  • Loading branch information
kirrg001 authored and kevinansfield committed May 12, 2017
1 parent 2b27cf6 commit cfb9d35
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,6 @@ install:
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi # fix sqlite caching issues

after_success:
- |
if [ "$DB" != "sqlite3" ] || [ "$TRAVIS_NODE_VERSION" != "4" ] || [[ "$TRAVIS_PULL_REQUEST_BRANCH" != *"greenkeeper"* ]]; then
exit 0
fi
git clone -b "$TRAVIS_PULL_REQUEST_BRANCH" "https://"$PUSH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG".git" repo && cd repo
git log --name-status HEAD^..HEAD | grep "update" || exit 0
yarn
git config --global user.email "github@ghost.org"
git config --global user.name "TryGhost-Travis"
git config --global push.default simple
git add yarn.lock
git commit -m "chore: yarn.lock"
git push
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
if [[ "$DB" = "sqlite3" && "$TRAVIS_NODE_VERSION" = "4" ]]; then
Expand Down

0 comments on commit cfb9d35

Please sign in to comment.