ci: only fetch target branch for commitlint
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
ci/woodpecker/manual/checks Pipeline was successful
ci/woodpecker/manual/release Pipeline was successful

This commit is contained in:
Johannes Loher 2023-07-22 00:34:20 +02:00
parent 29164fc148
commit 18f8d7d2c8
Signed by: saluu
GPG key ID: 7CB0A9FB553DA045

View file

@ -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