]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
gitlab: skip the check-patch job on the upstream repo
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 17 Sep 2021 16:23:29 +0000 (17:23 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Oct 2021 07:37:05 +0000 (08:37 +0100)
The check-patch job is intended to be used by contributors or
subsystem maintainers to see if there are style mistakes. The
false positive rate is too high to be used in a gating scenario
so should not run it on the upstream repo ever.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210915125452.1704899-2-berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210917162332.3511179-9-alex.bennee@linaro.org>

.gitlab-ci.d/static_checks.yml

index 96dbd9e310e4740fe5b5f6588960e6ac18073b9a..902843f8b3cc9d63a73031019e685d71e064e106 100644 (file)
@@ -8,7 +8,7 @@ check-patch:
   variables:
     GIT_DEPTH: 1000
   rules:
-    - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
+    - if: '$CI_PROJECT_NAMESPACE == "qemu-project"'
       when: never
     - when: on_success
       allow_failure: true