Commit c5c93ce4 authored by Jan Kiene's avatar Jan Kiene
Browse files

add validation job for branch naming

parent ae0ce593
Loading
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -804,6 +804,18 @@ fail-pipeline-if-in-draft:
    - echo "Your MR is still in Draft state, set it to ready to be mergable, then retrigger the pipeline."
    - exit 1

# this branch runs on merges to main-pc only and will fail if the branch itself does not conform to the naming conventions
check-naming-of-branch-for-main-pc-merges:
  extends:
    - .rules-merge-request-to-main-pc
  stage: prevalidate
  tags:
    - ivas-basop-linux
  script:
    - *update-scripts-repo
    - ci/get_float_ref_branch_name.sh


# ---------------------------------------------------------------
# verification jobs
# ---------------------------------------------------------------