diff --git a/tests/ci/pr_info.py b/tests/ci/pr_info.py index a445fef0ab2..c71512705c6 100644 --- a/tests/ci/pr_info.py +++ b/tests/ci/pr_info.py @@ -134,7 +134,7 @@ class PRInfo: _, ext = os.path.splitext(f) path_in_docs = 'docs' in f path_in_website = 'website' in f - if (ext in DIFF_IN_DOCUMENTATION_EXT and path_in_docs and path_in_website) or 'docker/docs' in f: + if (ext in DIFF_IN_DOCUMENTATION_EXT and (path_in_docs or path_in_website)) or 'docker/docs' in f: return True return False