Commit 042e79c6 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

show message

parent e5611972
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -9,7 +9,8 @@ check:merge-request:
    - npm install -g git-conventional-commits

    - git-conventional-commits init
    - echo "${CI_MERGE_REQUEST_TITLE}" > /tmp/mr_title
    - printf "Your Merge Request title is "
    - echo "${CI_MERGE_REQUEST_TITLE}" | tee /tmp/mr_title
    - |
      if git-conventional-commits commit-msg-hook /tmp/mr_title; then
        echo "[+] Merge request title uses conventional commit format. 👍"
@@ -34,3 +35,5 @@ check:merge-request:
    #   else
    #     echo "[!] You're not squashing this MR. Ensure all commit messages have a proper format!"  # TODO automatically check this
    #   fi
  rules:
    - if: $CI_MERGE_REQUEST_IID