Skip to content

Commit bd2eaba

Browse files
committed
cfg: make is_pipeline_allowed behavior consistent with doc
1 parent 065e04b commit bd2eaba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/context.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ let hook_of_channel ctx channel_name =
5151
contains pipeline `p`; returns `false` otherwise. *)
5252
let is_pipeline_allowed ctx ~pipeline =
5353
match ctx.config with
54-
| None -> false
54+
| None -> true
5555
| Some config ->
5656
match config.status_rules.allowed_pipelines with
5757
| Some allowed_pipelines when not @@ List.exists allowed_pipelines ~f:(String.equal pipeline) -> false

0 commit comments

Comments
 (0)