Do not run squawk tests outside of PR builds
This commit is contained in:
parent
fc294ce0b1
commit
346103dfb4
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue