Versions in this module Expand all Collapse all v0 v0.1.2 Mar 3, 2026 v0.1.1 Mar 2, 2026 Changes in this version + type CheckResult struct + CheckRunsSkipped bool + Checks []IndividualCheck + FailedNames []string + FailedRunIDs []int64 + Status CheckStatus + Summary string + type CheckStatus string + const CheckStatusFailure + const CheckStatusPending + const CheckStatusSuccess + type Client struct + func NewClient(token string, insecureSkipVerify bool) *Client + func (c *Client) ClosePR(ctx context.Context, owner, repoName string, prNumber int) (headBranch string, err error) + func (c *Client) DeleteBranch(ctx context.Context, owner, repoName, branch string) error + func (c *Client) FindPRForBranch(ctx context.Context, owner, repo, branch string) (string, int, error) + func (c *Client) GetFailedCheckLogs(ctx context.Context, owner, repoName string, prNumber int) (string, error) + func (c *Client) GetPRCheckStatus(ctx context.Context, owner, repo string, prNumber int) (*CheckResult, error) + func (c *Client) GetPRDiff(ctx context.Context, owner, repo string, prNumber int) (string, error) + func (c *Client) GetPRMergeability(ctx context.Context, owner, repo string, prNumber int) (*PRMergeability, error) + func (c *Client) IsPRMerged(ctx context.Context, owner, repo string, prNumber int) (bool, error) + func (c *Client) ListAccessibleRepos(ctx context.Context) ([]*GitHubRepo, error) + func (c *Client) UpdatePR(ctx context.Context, owner, repoName string, prNumber int, title, body string) error + type GitHubRepo struct + Description string + FullName string + HTMLURL string + Name string + Owner string + Private bool + type IndividualCheck struct + Conclusion string + Name string + Status string + URL string + type PRMergeability struct + HasConflicts bool + Mergeable *bool + MergeableState string