From: Daniel P. Berrangé Date: Fri, 17 Sep 2021 16:23:29 +0000 (+0100) Subject: gitlab: skip the check-patch job on the upstream repo X-Git-Tag: v6.2.0-rc0~61^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcbad7a6ed57f2885307b1c2236ca51796e638ad;p=thirdparty%2Fqemu.git gitlab: skip the check-patch job on the upstream repo 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é Reviewed-by: Philippe Mathieu-Daudé Acked-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20210915125452.1704899-2-berrange@redhat.com> Signed-off-by: Alex Bennée Message-Id: <20210917162332.3511179-9-alex.bennee@linaro.org> --- diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml index 96dbd9e310e..902843f8b3c 100644 --- a/.gitlab-ci.d/static_checks.yml +++ b/.gitlab-ci.d/static_checks.yml @@ -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