Don't sync if no orb is used
Don't sync the Prometheus CircleCI orb version if it's not used by the
repo's config.
@@ -104,7 +104,7 @@ check_circleci_orb() {
return 1
fi
- if [[ "${orb_version}" != "${prometheus_orb_version}" ]]; then
+ if [[ "${orb_version}" != "null" && "${orb_version}" != "${prometheus_orb_version}" ]]; then
echo "CircleCI-orb"
fi
}
