{"modulePath":"github.com/diggerhq/digger/cli","version":"v0.0.0-20261116214820-3dc1c51eb94c","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package models\n\n## Types\n\n```go\ntype GithubAction struct {\n\tAction           string      `json:\"action\"`\n\tActionPath       string      `json:\"action_path\"`\n\tActionRef        string      `json:\"action_ref\"`\n\tActionRepository string      `json:\"action_repository\"`\n\tActionStatus     string      `json:\"action_status\"`\n\tActor            string      `json:\"actor\"`\n\tBaseRef          string      `json:\"base_ref\"`\n\tEnv              string      `json:\"env\"`\n\tEvent            interface{} `json:\"event\"`\n\tEventName        string      `json:\"event_name\"`\n\tEventPath        string      `json:\"event_path\"`\n\tPath             string      `json:\"path\"`\n\tRefType          string      `json:\"ref_type\"`\n\tRepository       string      `json:\"repository\"`\n\tRepositoryOwner  string      `json:\"repository_owner\"`\n}\n```\n\n```go\nfunc GetGitHubContext(ghContext string) (*GithubAction, error)\n```\n\n```go\nfunc (g *GithubAction) ToEventPackage() models.EventPackage\n```\n\n```go\nfunc (g *GithubAction) UnmarshalJSON(data []byte) error\n```\n\n","path":"github.com/diggerhq/digger/cli/pkg/github/models","name":"models","synopsis":"","isRedistributable":true}
