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

re-enable naming-check job

parent c4c2ce9e
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -802,8 +802,8 @@ 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

# TODO: decide how to handle this after merge back to main
.check-naming-of-branch-for-basop-update-merges:
# warn if branch does not conform to the naming convention for BASOP porting branches
check-naming-of-branch-for-basop-update-merges:
  extends:
    - .rules-merge-request-to-main
    - .job-linux
@@ -812,9 +812,18 @@ fail-pipeline-if-in-draft:
    - ivas-basop-linux
  script:
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - exit_code=0
    - if [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[skip[[:space:]_-]name[[:space:]_-]check\] ]] && [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[CI\] ]]; then
    -   bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/get-float-ref-branch-name.sh $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
    -   bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/get-float-ref-branch-name.sh $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME || exit_code=$?
    - fi
    - if [[ "$exit_code" != "0" ]]; then
    -   exit $EXIT_CODE_NON_BE
    - else
    -   exit $EXIT_CODE_FAIL
    - fi
  allow_failure:
    exit_codes:
      - 123

branch-is-up-to-date-with-target-pre:
  extends: