Versions in this module Expand all Collapse all v1 v1.0.2 Mar 3, 2023 v1.0.1 Mar 3, 2023 Changes in this version + func HasReadOnlyPermissionGitHubToken() bool + func IsInBitbucketPipe() bool + func IsInBitbucketPipeline() bool + func IsInGitHubAction() bool + type BuildInfo struct + Branch string + GerritChangeID string + GerritRevisionID string + Owner string + PullRequest int + Repo string + SHA string + func GetBuildInfo() (prInfo *BuildInfo, isPR bool, err error) + func GetGerritBuildInfo() (*BuildInfo, error) + type GitHubEvent struct + ActionName string + CheckSuite struct{ ... } + HeadCommit struct{ ... } + PullRequest GitHubPullRequest + Repository struct{ ... } + func LoadGitHubEvent() (*GitHubEvent, error) + type GitHubPullRequest struct + Base struct{ ... } + Head struct{ ... } + Number int + type GitHubRepo struct + Owner struct{ ... }