docs: add workflow / step tags (#10731)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-12-25 11:04:55 +02:00
1 parent bff031ba8f
commit 97baa56d71
551 files changed
+656643 -651258

No files matched your search

@@ -223,7 +223,10 @@ class WorkflowsPlugin {
stepDepth++
})
const uniqueResources = addTagsToReflection(parentReflection, resources)
const uniqueResources = addTagsToReflection(parentReflection, [
...resources,
"workflow",
])
this.updateWorkflowsTagsMap(workflowId, uniqueResources)
}
@@ -560,7 +563,9 @@ class WorkflowsPlugin {
},
])
)
addTagsToReflection(stepReflection, resources)
const resourcesForType =
stepType === "step" || stepType === "hook" ? [stepType] : []
addTagsToReflection(stepReflection, [...resources, ...resourcesForType])
if (parentReflection.isDocument()) {
parentReflection.addChild(documentReflection)