---
gitlab:recommended:only_allow_merge_if_pipeline_succeeds:
  extends: .gitlab_check_scalar
  variables:
    CHECK_KEY: only_allow_merge_if_pipeline_succeeds
    CHECK_EXPECTED: "true"
    CHECK_HINT: >-
      Only allow merging when the pipeline succeeds, to ensure no broken code can
      be merged.
