ci: only fetch target branch for commitlint
This commit is contained in:
parent
29164fc148
commit
18f8d7d2c8
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ steps:
|
|||
image: *node_image
|
||||
commands:
|
||||
- <<: *enable_pnpm
|
||||
- git fetch
|
||||
- git fetch origin ${CI_COMMIT_TARGET_BRANCH}
|
||||
- pnpm exec commitlint --from origin/${CI_COMMIT_TARGET_BRANCH}
|
||||
when:
|
||||
event: pull_request
|
||||
|
|
Loading…
Reference in a new issue