[CI autocommits] Add telemetry_check --fix (#203065)

This commit is contained in:
Alejandro Fernández Haro 2024-12-05 13:16:34 +01:00 committed by GitHub
parent 3f0008ab5d
commit dd6860cfc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,4 +5,10 @@ set -euo pipefail
source .buildkite/scripts/common/util.sh
echo --- Check Telemetry Schema
node scripts/telemetry_check
if is_pr && ! is_auto_commit_disabled; then
node scripts/telemetry_check --fix
check_for_changed_files "node scripts/telemetry_check" true
else
node scripts/telemetry_check
fi