From 2b75836ad224a663ad62c0cf2aeb9a14eb966b3e Mon Sep 17 00:00:00 2001 From: Max Kainov Date: Fri, 26 Jan 2024 09:33:04 +0000 Subject: [PATCH] CI: fix ci configuration for nightly job --- tests/ci/ci.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/ci/ci.py b/tests/ci/ci.py index 067aa6173fc..f52f28c3a16 100644 --- a/tests/ci/ci.py +++ b/tests/ci/ci.py @@ -919,11 +919,15 @@ def main() -> int: result["ci_flags"] = ci_flags result["jobs_data"] = jobs_data result["docker_data"] = docker_data - if pr_info.number != 0 and not args.docker_digest_or_latest: + if ( + not args.skip_jobs + and pr_info.number != 0 + and not args.docker_digest_or_latest + ): # FIXME: it runs style check before docker build if possible (style-check images is not changed) # find a way to do style check always before docker build and others _check_and_update_for_early_style_check(result) - if pr_info.has_changes_in_documentation_only(): + if not args.skip_jobs and pr_info.has_changes_in_documentation_only(): _update_config_for_docs_only(result) ### CONFIGURE action: end