Commit e1067fc5 authored by Jure's avatar Jure
Browse files

ci: add .git to the Docker container

Because commitlint needs a .git repository to lint all commits on a branch, we're adding it to the
Docker container.

re #121
parent 287400f3
Pipeline #4397 passed with stages
in 5 minutes and 2 seconds
......@@ -45,8 +45,8 @@ lint:commits:
stage: test
- cd ${HOME}
- yarn commitlint --from=master --to=$CI_COMMIT_REF_NAME
- cp -r .git ${HOME}/ && cd ${HOME}
- yarn commitlint --from=origin/master --to=$CI_COMMIT_SHA
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment