diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index efd8f90baec2fa01c519150bfdfc6ec95d8e2c79..6e4c02647d601cba39dd0464cbbbca0f8bbb8afe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,10 @@ check-commits: pre-commit: stage: test image: registry.gitlab.com/kernel-firmware/linux-firmware + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_COMMIT_TAG + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH script: - pre-commit run --all-files