1
0
Fork 0
mirror of synced 2024-11-21 08:25:34 -05:00

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

* Automated using https://github.com/myii/ssf-formula/pull/278
This commit is contained in:
Imran Iqbal 2020-12-20 18:50:14 +00:00
parent 3f34c0a6b0
commit c2182efdfa
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -53,7 +53,8 @@ commitlint:
image: *image_commitlint
script:
# Add `upstream` remote to get access to `upstream/master`
- 'git remote add upstream ${CI_PROJECT_URL}.git'
- 'git remote add upstream
https://gitlab.com/saltstack-formulas/sudoers-formula.git'
- 'git fetch --all'
# Set default commit hashes for `--from` and `--to`
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'