mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
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>
This commit is contained in:
parent
0414534499
commit
968d7f326c
|
@ -104,7 +104,7 @@ check_circleci_orb() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${orb_version}" != "${prometheus_orb_version}" ]]; then
|
if [[ "${orb_version}" != "null" && "${orb_version}" != "${prometheus_orb_version}" ]]; then
|
||||||
echo "CircleCI-orb"
|
echo "CircleCI-orb"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue