File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
ci/jobs/scripts/workflow_hooks Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,10 @@ def only_docs(changed_files):
1919 return True
2020
2121
22- ONLY_DOCS_JOBS = [
22+ DO_NOT_TEST_JOBS = [
2323 JobNames .STYLE_CHECK ,
2424 JobNames .DOCKER_BUILDS_ARM ,
2525 JobNames .DOCKER_BUILDS_AMD ,
26- JobNames .Docs ,
2726]
2827
2928PRELIMINARY_JOBS = [
@@ -56,10 +55,7 @@ def should_skip_job(job_name):
5655 print ("WARNING: no changed files found for PR - do not filter jobs" )
5756 return False , ""
5857
59- if only_docs (changed_files ) and job_name not in ONLY_DOCS_JOBS :
60- return True , "Docs only update"
61-
62- if Labels .DO_NOT_TEST in _info_cache .pr_labels and job_name not in ONLY_DOCS_JOBS :
58+ if Labels .DO_NOT_TEST in _info_cache .pr_labels and job_name not in DO_NOT_TEST_JOBS :
6359 return True , f"Skipped, labeled with '{ Labels .DO_NOT_TEST } '"
6460
6561 if Labels .NO_FAST_TESTS in _info_cache .pr_labels and job_name in PRELIMINARY_JOBS :
You can’t perform that action at this time.
0 commit comments