From 372e5a14ed14bdd0b0d908bae3afe29be78b8f58 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 27 Sep 2023 22:39:19 +0300 Subject: [PATCH] .gitlab-ci.yml: add a strict check to catch broken packages Signed-off-by: Alfred Wingate --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01ac23f..340aa79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,6 +38,16 @@ pkgcheck_full_scan: script: - pkgcheck ci $common_pkgcheck_args +pkgcheck_strict_scan: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + when: never + - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH + when: manual + script: + # temporarily disable BadDefaultUseFlags + - pkgcheck ci -k error,-BadDefaultUseFlags $common_pkgcheck_args + pkgcheck_merge: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event'