Skip to content

Commit 6db134d

Browse files
committed
ci: add diff for debugging unstaged files
1 parent a9305a6 commit 6db134d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/no-unstaged-files.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
git diff
4+
35
if [[ "$(git status --porcelain)" != "" ]]; then
46
git status
57
echo "::error::💥 Unstaged changes detected. Locally try running: npm run prettier && npm run lint --fix && npm run build"

0 commit comments

Comments
 (0)