Skip to content

Commit 1553bea

Browse files
committed
Don’t fail if there’s nothing to commit
1 parent 21c6bbb commit 1553bea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/update_submodule.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,4 @@ jobs:
4040
git add submodules/plone.api submodules/plone.restapi submodules/volto
4141
git config user.name github-actions
4242
git config user.email [email protected]
43-
git commit -m "Update submodules tip"
44-
git push
45-
43+
git diff --exit-code && git commit -m "Update submodules tip" && git push

0 commit comments

Comments
 (0)