mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-28 14:11:02 +01: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
|
||||
fi
|
||||
|
||||
if [[ "${orb_version}" != "${prometheus_orb_version}" ]]; then
|
||||
if [[ "${orb_version}" != "null" && "${orb_version}" != "${prometheus_orb_version}" ]]; then
|
||||
echo "CircleCI-orb"
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user