Skip to content

Commit fd98a53

Browse files
committed
fix: check for uncommitted changes only
1 parent 3bee61d commit fd98a53

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/pull_request.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ jobs:
108108
biome lint --write
109109
110110
- name: Check for changes
111-
id: git-check
112-
run: git diff-index HEAD --
111+
run: git status | grep -q "nothing to commit (working directory clean)" && echo "Branch is clean." || (echo "There are uncommitted changes." && exit 1)
113112

114113
test:
115114
name: Test

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ tokio = { version = "1.40.0", features = ["full"] }
4949
tracing = { version = "0.1.40", default-features = false, features = ["std"] }
5050
tracing-bunyan-formatter = { version = "0.3.10 " }
5151
tracing-subscriber = "0.3.18"
52-
5352
tree-sitter = "0.20.10"
5453
tree_sitter_sql = { path = "./lib/tree_sitter_sql", version = "0.0.0" }
5554
unicode-width = "0.1.12"

0 commit comments

Comments
 (0)