diff --git a/Makefile b/Makefile index 8748a2c7b5..1b3a6f1c14 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ lint: shell-lint python-lint cd schemas && make lint .PHONY: check-hygiene -check-hygiene: python-lint hygiene validate-uss-qualifier-docs shell-lint +check-hygiene: python-lint hygiene validate-uss-qualifier-docs shell-lint json-schema-lint .PHONY: python-lint python-lint: diff --git a/schemas/manage_type_schemas.sh b/schemas/manage_type_schemas.sh index aa3e296bf5..978816e8db 100755 --- a/schemas/manage_type_schemas.sh +++ b/schemas/manage_type_schemas.sh @@ -22,6 +22,7 @@ action=${1:?The action must be specified as --check or --generate} # shellcheck disable=SC2086 docker run --name type_schema_manager \ --rm \ + -u "$(id -u):$(id -g)" \ -v "$(pwd):/app" \ interuss/monitoring \ python /app/schemas/manage_type_schemas.py "${action}"