Skip to content

Commit d264cd4

Browse files
committed
...
1 parent e8ce328 commit d264cd4

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/pull_request.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
uses: biomejs/setup-biome@v2
101101
with:
102102
version: latest
103+
103104
- name: Run Lints
104105
run: |
105106
cargo sqlx prepare --check --workspace
@@ -109,13 +110,10 @@ jobs:
109110
110111
- name: Check for changes
111112
run: |
112-
echo $(git status)
113-
clean=$(git status | grep "nothing to commit (working directory clean)")
114-
if [ -z "$clean" ]; then
115-
echo There are uncommitted changes.
116-
exit 1
117-
else
118-
echo Branch is clean.
113+
if [[ $(git status --porcelain) ]]; then
114+
git status
115+
git diff
116+
exit 1
119117
fi
120118
121119
test:

0 commit comments

Comments
 (0)