Skip to content

Commit d6dda23

Browse files
committed
Swallow empty-commit error
1 parent d45c059 commit d6dda23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update-package-lock.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323
git config user.name "TypeScript Bot"
2424
npm install --package-lock-only
2525
git add -f package-lock.json
26-
git commit -m "Update package-lock.json"
27-
git push
26+
if git commit -m "Update package-lock.json"; then
27+
git push
28+
fi

0 commit comments

Comments
 (0)