mirror of
https://github.com/saltstack-formulas/timezone-formula.git
synced 2024-11-28 01:17:58 +01: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:
parent
fefecd783f
commit
252573d56a
@ -53,7 +53,8 @@ commitlint:
|
|||||||
image: *image_commitlint
|
image: *image_commitlint
|
||||||
script:
|
script:
|
||||||
# Add `upstream` remote to get access to `upstream/master`
|
# 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/timezone-formula.git'
|
||||||
- 'git fetch --all'
|
- 'git fetch --all'
|
||||||
# Set default commit hashes for `--from` and `--to`
|
# Set default commit hashes for `--from` and `--to`
|
||||||
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'
|
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'
|
||||||
|
Loading…
Reference in New Issue
Block a user