[ci] Skip YAML anchor keys in integration fixture component extraction (#14670)
This commit is contained in:
1 parent
dadbdd0f7b
commit
d6ce5dda81
2 files changed
+28
-2
No files matched your search
+4
-2
@@ -705,8 +705,10 @@ def get_components_from_integration_fixtures() -> set[str]:
|
||||
if not config:
|
||||
continue
|
||||
|
||||
# Add all top-level component keys
|
||||
components.update(config.keys())
|
||||
# Add all top-level component keys (skip YAML anchor keys starting with '.')
|
||||
components.update(
|
||||
k for k in config if isinstance(k, str) and not k.startswith(".")
|
||||
)
|
||||
|
||||
# Add platform components (e.g., output.template)
|
||||
for value in config.values():
|
||||
|
||||
Reference in new issue
Block a user