Browse Source

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

* Automated using https://github.com/myii/ssf-formula/pull/278
pull/28/head
Imran Iqbal 4 years ago
parent
commit
d5e555af6a
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      .gitlab-ci.yml

+ 2
- 1
.gitlab-ci.yml 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/syslog-ng-formula.git'
- 'git fetch --all'
# Set default commit hashes for `--from` and `--to`
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'

Loading…
Cancel
Save