getCachedActionPin returns the pinned action reference for a given repository, preferring the dynamic resolver from WorkflowData over the embedded pins.
(repo string, data *WorkflowData)
| 215 | // getCachedActionPin returns the pinned action reference for a given repository, |
| 216 | // preferring the dynamic resolver from WorkflowData over the embedded pins. |
| 217 | func getCachedActionPin(repo string, data *WorkflowData) string { |
| 218 | return actionpins.ResolveLatestActionPin(repo, data.PinContext()) |
| 219 | } |
| 220 | |
| 221 | // -------------------------------------------------------------------------- |
| 222 | // Step-level helpers that depend on WorkflowStep (stay in pkg/workflow) |