Browse Source

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

Run merge request pipelines for pre-commit.

See merge request kernel-firmware/linux-firmware!19
main 20230919
Josh Boyer 1 year ago
parent
commit
3672ccab92
  1. 4
      .gitlab-ci.yml

4
.gitlab-ci.yml

@ -9,6 +9,10 @@ check-commits: @@ -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…
Cancel
Save