getActionPinWithData returns the pinned action reference for a given action@version, delegating to pkg/actionpins with a PinContext built from WorkflowData.
(actionRepo, version string, data *WorkflowData)
| 209 | // getActionPinWithData returns the pinned action reference for a given action@version, |
| 210 | // delegating to pkg/actionpins with a PinContext built from WorkflowData. |
| 211 | func getActionPinWithData(actionRepo, version string, data *WorkflowData) (string, error) { |
| 212 | return actionpins.ResolveActionPin(actionRepo, version, data.PinContext()) |
| 213 | } |
| 214 | |
| 215 | // getCachedActionPin returns the pinned action reference for a given repository, |
| 216 | // preferring the dynamic resolver from WorkflowData over the embedded pins. |