Verified Commit 995a006b authored by Jaime Martinez's avatar Jaime Martinez 🔴
Browse files

fix: use MR diff SHA in commitlint job

Use the variable `$CI_MERGE_REQUEST_DIFF_BASE_SHA` instead of
`$CI_MERGE_REQUEST_TARGET_BRANCH_SHA` as it is only available in pipelines for
merged results and not available for draft MRs either.

Closes gitlab-org/labkit#34
parent 9205b46e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment