瀏覽代碼

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

* Automated using https://github.com/myii/ssf-formula/pull/278
tags/v1.2.3
Imran Iqbal 3 年之前
父節點
當前提交
25bea74bf0
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      .gitlab-ci.yml

+ 2
- 1
.gitlab-ci.yml 查看文件

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

Loading…
取消
儲存