mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
synced 2024-12-22 07:01:26 +00:00
Run merge request pipelines for pre-commit.
Link: https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html#use-rules-to-add-jobs Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
This commit is contained in:
parent
919300d19f
commit
f48da6da55
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user