From da0ef9ec24563eb914b907430c827bb1591aa6da Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Tue, 25 Feb 2025 22:03:53 +0000 Subject: [PATCH] ci: checkout commitlint back to current commit --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7d5454..e61541c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,6 +32,7 @@ check_commits: - npm install -g @commitlint/cli @commitlint/config-conventional - git checkout origin/master script: + - git checkout ${CI_COMMIT_SHA} - npx commitlint --from origin/master --to ${CI_COMMIT_SHA} --verbose compile_jvm: