diff --git a/scripts/ci/test_plan.py b/scripts/ci/test_plan.py index 7004ccd8625..43cc6c95b67 100755 --- a/scripts/ci/test_plan.py +++ b/scripts/ci/test_plan.py @@ -337,6 +337,10 @@ def find_tags(self): tag.exclude = True tag.name = t + if not isinstance(x, dict) or x.get("files") is None: + logging.debug(f"Tag {t} is might be a standalone anchor, skipping...") + continue + # tag._match_fn(path) tests if the path matches files and/or # files-regex tag._match_fn = _get_match_fn(x.get("files"), x.get("files-regex"))