Ver código fonte

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

* Automated using https://github.com/myii/ssf-formula/pull/278
tags/v0.48.7
Imran Iqbal 4 anos atrás
pai
commit
2f0db666e4
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      .gitlab-ci.yml

+ 2
- 1
.gitlab-ci.yml Ver arquivo

@@ -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/users-formula.git'
- 'git fetch --all'
# Set default commit hashes for `--from` and `--to`
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'

Carregando…
Cancelar
Salvar