From c382efe119a388f95b7b4d26f9d2a5eb72d6f8c1 Mon Sep 17 00:00:00 2001 From: Georgia Garcia Date: Thu, 19 Sep 2024 11:58:30 -0300 Subject: [PATCH] gitlab-ci.yml: only run coverity in the upstream project This pipeline only makes sense to run in the upstream project where the coverity variables are defined, so they currently fail in forks. Signed-off-by: Georgia Garcia --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 613c40b15..75d40c804 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -152,6 +152,8 @@ coverity: only: refs: - master + variables: + - $CI_PROJECT_PATH == "apparmor/apparmor" script: - apt-get install --no-install-recommends -y curl git texlive-latex-recommended - *install-c-build-deps