Skip to content
Snippets Groups Projects
Commit 2046916e authored by Lars Bilke's avatar Lars Bilke
Browse files

Merge branch 'bilke-main-patch-74459' into 'main'

[ci] Fetch MR source commit on pre-commit job.

See merge request !135
parents 99d1dd1c cb8ad3b8
No related branches found
No related tags found
1 merge request!135[ci] Fetch MR source commit on pre-commit job.
Pipeline #22434 passed
...@@ -35,6 +35,7 @@ pre-commit: ...@@ -35,6 +35,7 @@ pre-commit:
- if: $CI_MERGE_REQUEST_IID - if: $CI_MERGE_REQUEST_IID
needs: [] needs: []
script: script:
- git fetch origin ${CI_MERGE_REQUEST_DIFF_BASE_SHA}
- pre-commit run --from-ref ${CI_MERGE_REQUEST_DIFF_BASE_SHA} --to-ref HEAD - pre-commit run --from-ref ${CI_MERGE_REQUEST_DIFF_BASE_SHA} --to-ref HEAD
build: build:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment