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

also exclude name check if branch is tagged as CI

parent b6cb533d
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -813,7 +813,7 @@ check-naming-of-branch-for-main-pc-merges:
    - ivas-basop-linux
  script:
    - *update-scripts-repo
    - if [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[skip[[:space:]_-]name[[:space:]_-]check\] ]]; then
    - if [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[skip[[:space:]_-]name[[:space:]_-]check\] ]] && [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[CI\] ]]; then
    -   ci/get_float_ref_branch_name.sh $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
    - fi

@@ -1000,7 +1000,7 @@ build-codec-linux-debugging-make:
# ---------------------------------------------------------------

.set-reference-for-basop-port-branch: &set-reference-for-basop-port-branch
  - if [ $CI_MERGE_REQUEST_TARGET_BRANCH_NAME = "main-pc" ] && [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[skip[[:space:]_-]name[[:space:]_-]check\] ]]; then
  - if [ $CI_MERGE_REQUEST_TARGET_BRANCH_NAME = "main-pc" ] && [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[skip[[:space:]_-]name[[:space:]_-]check\] ]] && [[ ! "$CI_MERGE_REQUEST_TITLE" =~ \[CI\] ]]; then
  -   *update-scripts-repo
  # a bit awkward: write to file + standard out first so that the error message is visivle in case of failure. Then fill the variable from the file
  -   ci/get_float_ref_branch_name.sh $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME | tee tmp_ref_branch.txt