Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
ci(dependabot): fix log message parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Feb 18, 2021
1 parent fb09dff commit fd8a4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
git checkout HEAD^ -- yarn.lock
# if package.json was not updated, upgrade the dependency
git diff --name-only HEAD^ HEAD | grep -q 'package.json' || yarn up `git log -1 --pretty=%s | awk '{ print $2 }'`
git diff --name-only HEAD^ HEAD | grep -q 'package.json' || yarn up `git log -1 --pretty=%s | awk '{ print $7 }'`
# restore package.json from the last commit
git checkout HEAD -- package.json
Expand Down

0 comments on commit fd8a4fe

Please sign in to comment.