extractActionVersion extracts the version from a uses string.
(uses string)
| 52 | |
| 53 | // extractActionVersion extracts the version from a uses string. |
| 54 | func extractActionVersion(uses string) string { |
| 55 | return actionpins.ExtractVersion(uses) |
| 56 | } |
| 57 | |
| 58 | // ghesArtifactPin holds the version tag and commit SHA for a GHES-compatible artifact action pin. |
| 59 | type ghesArtifactPin struct { |