Versions in this module Expand all Collapse all v1 v1.7.0 May 11, 2026 Changes in this version type Provider + GetLatestRunForBranch func(ctx context.Context, branch string) (*Workflow, error) + GetWorkflowRun func(ctx context.Context, runID string) (*Workflow, error) v1.6.2 Apr 8, 2026 v1.6.1 Apr 7, 2026 v1.6.0 Apr 7, 2026 v1.5.0 Apr 7, 2026 v1.4.0 Apr 7, 2026 v1.3.1 Apr 4, 2026 v1.3.0 Apr 4, 2026 Changes in this version type CheckRun + CompletedAt time.Time + ErrorLog string + FailedStep string + ID int64 + StartedAt time.Time + type CommitInfo struct + Author string + Date time.Time + Message string + SHA string + type LinkedIssue struct + Assignees []string + Author string + Body string + CreatedAt time.Time + Labels []string + Number int + State string + Title string + URL string + UpdatedAt time.Time type PRChecks + InProgress int + Queued int + UpdatedAt time.Time + type PullRequestDetails struct + Additions int + Author string + BaseBranch string + Body string + ChangedFiles int + Commits []CommitInfo + CreatedAt time.Time + Deletions int + Draft bool + HeadBranch string + HeadSHA string + Labels []string + LinkedIssues []LinkedIssue + MergeMethod string + Mergeable bool + Number int + Reviewers []ReviewerStatus + State string + Title string + URL string + UpdatedAt time.Time + type ReviewerStatus struct + Avatar string + Login string + State string v1.3.0-rc.1 Dec 6, 2025 v1.2.1 Dec 8, 2025 Changes in this version + func BuildBaseURL(host string, providerType ProviderType) string + func ExtractHostFromURL(remoteURL string) string + func ParseRemoteURL(remoteURL string) (owner, repo string, err error) + type Artifact struct + CreatedAt time.Time + Expired bool + ExpiresAt time.Time + ID int64 + Name string + SizeInBytes int64 + WorkflowName string + WorkflowRun string + type ArtifactStats struct + Artifacts []Artifact + TotalCount int + TotalSize int64 type PRChecks + HeadSHA string type Provider + WaitForChecksToStart func(ctx context.Context, prNumber int, timeout time.Duration) (headSHA string, checks *PRChecks, err error) + type ProviderType string + const ProviderTypeGitHub + const ProviderTypeGitLab + const ProviderTypeUnknown + func DetectProviderFromURL(remoteURL string) ProviderType v1.2.0 Dec 4, 2025 Changes in this version + type CheckRun struct + Conclusion string + Name string + Status string + URL string + type Job struct + Conclusion string + Name string + Status string + type PRChecks struct + Checks []CheckRun + Failure int + Pending int + Status string + StatusChecks []StatusCheck + Success int + TotalCount int + type PRChecksUpdate struct + Checks *PRChecks + Error error + type Provider interface + CreatePullRequest func(ctx context.Context, title, body, head, base string, draft bool) (number int, url string, err error) + GetLatestWorkflow func(ctx context.Context, branch string) (*Workflow, error) + GetPullRequestByBranch func(ctx context.Context, branch string) (number int, url string, err error) + GetPullRequestChecks func(ctx context.Context, prNumber int) (*PRChecks, error) + MarkPullRequestReady func(ctx context.Context, prNumber int) error + MergePullRequest func(ctx context.Context, prNumber int, method string) error + WatchPullRequestChecks func(ctx context.Context, prNumber int) (<-chan PRChecksUpdate, error) + WatchWorkflow func(ctx context.Context, workflowID string) (<-chan WorkflowUpdate, error) + type StatusCheck struct + Context string + State string + URL string + type Workflow struct + Conclusion string + ID string + Jobs []Job + Status string + URL string + type WorkflowUpdate struct + Error error + Workflow *Workflow