Skip to content

Commit 87e8dd5

Browse files
committed
Dont fail if submodule already at given ref
1 parent 352dc32 commit 87e8dd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/on_external_dispatch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
git config user.name "github-actions[bot]"
5151
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
5252
git add external/duckdb
53+
if git diff --cached --quiet; then
54+
echo "No changes to commit: submodule ref is unchanged."
55+
exit 0
56+
fi
5357
git commit -m "Update submodule ref"
5458
git push
5559

0 commit comments

Comments
 (0)