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
|
image: *node_image
|
||||||
commands:
|
commands:
|
||||||
- <<: *enable_pnpm
|
- <<: *enable_pnpm
|
||||||
- git fetch
|
- git fetch origin ${CI_COMMIT_TARGET_BRANCH}
|
||||||
- pnpm exec commitlint --from origin/${CI_COMMIT_TARGET_BRANCH}
|
- pnpm exec commitlint --from origin/${CI_COMMIT_TARGET_BRANCH}
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
Loading…
Reference in a new issue