ci: Add shellcheck for scripts (#20631)
Fixes shellcheck errors in script/* Adds a couple trailing newlines. Adds `script/shellcheck-scripts` and associated CI machinery. Current set ultra-conservative, does not output warnings, only errors.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
set -eu
|
||||
source script/lib/deploy-helpers.sh
|
||||
|
||||
if [[ $# < 1 ]]; then
|
||||
if [[ $# != 1 ]]; then
|
||||
echo "Usage: $0 <production|staging> (postgrest not needed on preview or nightly)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user