19 lines
625 B
YAML
19 lines
625 B
YAML
include:
|
|
- /gitlab-templates/blocks/workflow.yml
|
|
- /gitlab-templates/blocks/ci-linux-base.yml
|
|
|
|
commit_checks:
|
|
extends: .suse_tumbleweed_qt6stable_docker
|
|
stage: validate
|
|
interruptible: true
|
|
variables:
|
|
# The checks compare the branch against the commit it started from, so the
|
|
# whole history has to be there.
|
|
GIT_DEPTH: 0
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
before_script:
|
|
- git clone https://invent.kde.org/sysadmin/ci-utilities.git --depth=1
|
|
script:
|
|
- git config --global --add safe.directory $CI_PROJECT_DIR
|
|
- python3 -u ci-utilities/run-commit-checks.py
|