We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8ce328 commit d264cd4Copy full SHA for d264cd4
.github/workflows/pull_request.yml
@@ -100,6 +100,7 @@ jobs:
100
uses: biomejs/setup-biome@v2
101
with:
102
version: latest
103
+
104
- name: Run Lints
105
run: |
106
cargo sqlx prepare --check --workspace
@@ -109,13 +110,10 @@ jobs:
109
110
111
- name: Check for changes
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.
+ if [[ $(git status --porcelain) ]]; then
+ git status
+ git diff
+ exit 1
119
fi
120
121
test:
0 commit comments