OpenMiInk/third_party/kde-ci-utilities/gitlab-templates/commit-checks.yml
Hellings b8c8ff98e2 Hi
2026-10-16 09:05:56 -04:00

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