Skip to content

Commit 53572dc

Browse files
committed
🦺 Add git status check in the check-and-push recipe
1 parent 8f26f72 commit 53572dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

project_name/justfile.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ prepare:
3030
uv run pre-commit install
3131

3232
check-and-push:
33+
[ -n "$(git status --porcelain)" ]
3334
just check
3435
git push --follow-tags
3536

0 commit comments

Comments
 (0)