Skip to content

Commit 2ff70f0

Browse files
authored
Merge pull request #40244 from amcasey/EmptyCommit
Swallow empty-commit error
2 parents d45c059 + d6dda23 commit 2ff70f0

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)