Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractBaseRepo ¶ added in v0.51.7
ExtractBaseRepo extracts the base repository (owner/repo) from a repository path that may include subfolders. For "actions/checkout" -> "actions/checkout" For "github/codeql-action/upload-sarif" -> "github/codeql-action"
func FindGitRoot ¶ added in v0.51.7
FindGitRoot finds the root directory of the git repository. Returns an error if not in a git repository or if the git command fails.
func IsAuthError ¶
IsAuthError checks if an error message indicates an authentication issue. This is used to detect when GitHub API calls fail due to missing or invalid credentials.
func IsHexString ¶
IsHexString checks if a string contains only hexadecimal characters. This is used to validate Git commit SHAs and other hexadecimal identifiers.
Types ¶
This section is empty.