CI: fix ci configuration for nightly job

This commit is contained in:
Max Kainov 2024-01-26 09:33:04 +00:00
parent 3fbdf48b53
commit 2b75836ad2

View File

@ -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