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