Merge pull request #8675 from prometheus/superq/null_orb

Don't sync if no orb is used
This commit is contained in:
Ben Kochie 2021-03-31 15:30:49 +02:00 committed by GitHub
commit 4ceb9911d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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