Commit dad8eda8 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason
Browse files

Merge branch 'adjust-commitlint-job' into 'master'

parents 716955fb 699fed39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -530,7 +530,7 @@ commitlint:
  script:
    - npx --quiet commitlint --from="$CI_MERGE_REQUEST_DIFF_BASE_SHA" --help-url 'https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image#git-commit-guidelines'
  rules:
    - if: "$CI_MERGE_REQUEST_EVENT_TYPE != 'merge_train' && $CI_MERGE_REQUEST_DIFF_BASE_SHA"
    - if: "$CI_MERGE_REQUEST_DIFF_BASE_SHA"

# This complements the except-docs rule in rules.gitlab-ci.yml to ensure that do
# not skip tests when code is *actually* changed.