MCPcopy Create free account
hub / github.com/github/docs / actionsUsedInWorkflow

Function actionsUsedInWorkflow

tests/unit/actions-workflows.js:18–22  ·  view source on GitHub ↗
(workflow)

Source from the content-addressed store, hash-verified

16 })
17
18function actionsUsedInWorkflow(workflow) {
19 return Object.keys(flat(workflow))
20 .filter((key) => key.endsWith('.uses'))
21 .map((key) => get(workflow, key))
22}
23
24const scheduledWorkflows = workflows
25 .map((workflow) => workflow.data.on.schedule)

Callers

nothing calls this directly

Calls 1

getFunction · 0.85

Tested by

no test coverage detected