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.

Signed-off-by: Ben Kochie <superq@gmail.com>
pull/8675/head
Ben Kochie 4 years ago
parent 0414534499
commit 968d7f326c
No known key found for this signature in database
GPG Key ID: C646B23C9E3245F1

@ -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
}

Loading…
Cancel
Save