Unverified Commit 97715828 authored by Imran Iqbal's avatar Imran Iqbal
Browse files

ci(commitlint): ensure `upstream/master` uses main repo URL [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/278
parent ed1cbaaa
......@@ -53,7 +53,8 @@ commitlint:
image: *image_commitlint
# Add `upstream` remote to get access to `upstream/master`
- 'git remote add upstream ${CI_PROJECT_URL}.git'
- 'git remote add upstream
- 'git fetch --all'
# Set default commit hashes for `--from` and `--to`
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'
Supports Markdown
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