Loading project-automation/check-merge-request.yml +4 −1 Original line number Diff line number Diff line Loading @@ -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. 👍" Loading @@ -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 Loading
project-automation/check-merge-request.yml +4 −1 Original line number Diff line number Diff line Loading @@ -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. 👍" Loading @@ -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