Skip to content

Commit ce83518

Browse files
authored
bcr_presubmit: block the pipeline for BCR maintainer review even when follow up jobs are empty (#2210)
1 parent 09c1523 commit ce83518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildkite/bazel-central-registry/bcr_presubmit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def main(argv=None):
540540
if len(pipeline_steps) == previous_size:
541541
error("No pipeline steps generated for %s@%s. Please check the configuration." % (module_name, module_version))
542542

543-
if should_wait_bcr_maintainer_review(modules) and pipeline_steps:
543+
if should_wait_bcr_maintainer_review(modules):
544544
pipeline_steps.insert(0, {"block": "Wait on BCR maintainer review", "blocked_state": "running"})
545545

546546
upload_jobs_to_pipeline(pipeline_steps)

0 commit comments

Comments
 (0)