Skip to content

Commit 33ad187

Browse files
committed
fix: replace check against commit hash to instead check against HEAD in update-demo workflow
1 parent 48ede12 commit 33ad187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def update_demo(
6868
fg=typer.colors.YELLOW
6969
)
7070

71-
if not is_ancestor(last_update_commit, template_commit):
71+
if not is_ancestor(last_update_commit, "HEAD"):
7272
raise ValueError(
7373
f"The last update commit '{last_update_commit}' is not an ancestor of the current commit "
7474
f"'{template_commit}'."

0 commit comments

Comments
 (0)