Skip to content

Commit e697733

Browse files
authored
Change BCR CI to show pending when blocked (#1527)
As a contributor seeing "failed" in a CI status on your PR implies you should go and fix it, but in this case it just means you're waiting on someone with access to run the job.
1 parent 1c14c67 commit e697733

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
@@ -372,7 +372,7 @@ def main(argv=None):
372372
configs = get_test_module_task_config(module_name, module_version)
373373
add_presubmit_jobs(module_name, module_version, configs.get("tasks", {}), pipeline_steps, is_test_module=True)
374374
if should_wait_bcr_maintainer_review(modules) and pipeline_steps:
375-
pipeline_steps = [{"block": "Wait on BCR maintainer review", "blocked_state": "failed"}] + pipeline_steps
375+
pipeline_steps = [{"block": "Wait on BCR maintainer review", "blocked_state": "running"}] + pipeline_steps
376376
upload_jobs_to_pipeline(pipeline_steps)
377377
elif args.subparsers_name == "runner":
378378
repo_location = create_simple_repo(args.module_name, args.module_version, args.task)

0 commit comments

Comments
 (0)