Merge branch 'mlimonci/fix-merge-requests-ci' into 'main'

Run merge request pipelines for pre-commit.

See merge request kernel-firmware/linux-firmware!19
This commit is contained in:
Josh Boyer 2023-09-18 20:19:32 +00:00
commit 3672ccab92
1 changed files with 4 additions and 0 deletions

View File

@ -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