Documentation
¶
Index ¶
- func GetCurrentBranchCIStatus(repoPath string) (string, error)
- func GetMyPRsStatus(repoPath string) (string, error)
- func WaitForCIWorkflow(ctx context.Context, repoPath string) error
- func WaitForReleaseWorkflow(ctx context.Context, repoPath, versionTag string) error
- type Client
- type GHClient
- type PullRequest
- type StatusCheckRollup
- type WorkflowRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMyPRsStatus ¶
func WaitForCIWorkflow ¶
WaitForCIWorkflow waits for CI workflow to complete for the latest commit on main branch If there's no CI workflow defined, it returns immediately without error
Types ¶
type PullRequest ¶
type PullRequest struct {
Number int `json:"number"`
State string `json:"state"`
IsDraft bool `json:"isDraft"`
StatusCheckRollup []StatusCheckRollup `json:"statusCheckRollup"`
}
type StatusCheckRollup ¶
type StatusCheckRollup struct {
State string `json:"state"`
}
type WorkflowRun ¶
Click to show internal directories.
Click to hide internal directories.