ci: use CI_MERGE_REQUEST_SOURCE_BRANCH in mr pipelines
This commit is contained in:
parent
48cda62bcf
commit
941574dc2f
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ check_pre_commit_MR:
|
|||
- .check_pre_commit_template
|
||||
- .rules:dev
|
||||
script:
|
||||
- python ${CI_PROJECT_DIR}/tools/ci/ci_get_mr_info.py files ${CI_COMMIT_BRANCH} | xargs pre-commit run --files
|
||||
- python ${CI_PROJECT_DIR}/tools/ci/ci_get_mr_info.py files ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME} | xargs pre-commit run --files
|
||||
|
||||
check_version:
|
||||
# Don't run this for feature/bugfix branches, so that it is possible to modify
|
||||
|
|
|
|||
Loading…
Reference in a new issue