Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Do not run squawk tests outside of PR builds

Kirill Bulatov346103dfb405
diff --git a/script/squawk b/script/squawk
index e4ade6fbed6..0fb3e5a3325 100755
--- a/script/squawk
+++ b/script/squawk
@@ -6,6 +6,11 @@
set -e
+if [ -z "$GITHUB_BASE_REF" ]; then
+ echo 'Not a pull request, skipping squawk modified migrations linting'
+ return 0
+fi
+
SQUAWK_VERSION=0.26.0
SQUAWK_BIN="./target/squawk-$SQUAWK_VERSION"
SQUAWK_ARGS="--assume-in-transaction"