Versions in this module Expand all Collapse all v0 v0.9.0 Sep 8, 2026 v0.8.1 Sep 7, 2026 v0.8.0 Sep 7, 2026 v0.7.0 Sep 7, 2026 v0.6.0 Sep 7, 2026 Changes in this version + func ParseRepo(url string) (owner, repo string, err error) + type Asset struct + ID int64 + Name string + Size int + URL string + type CheckRun struct + Conclusion string + Name string + Status string + type Client struct + Owner string + Repo string + func New(ctx context.Context, owner, repo string) (*Client, error) + func (c *Client) AddAssignees(ctx context.Context, owner, repo string, number int, users []string) error + func (c *Client) AddLabels(ctx context.Context, owner, repo string, number int, labels []string) error + func (c *Client) CancelRun(ctx context.Context, owner, repo string, runID int64) error + func (c *Client) CommentPR(ctx context.Context, owner, repo string, number int, body string) (string, error) + func (c *Client) CreateIssue(ctx context.Context, owner, repo, title, body string) (int, string, error) + func (c *Client) CreateLabel(ctx context.Context, owner, repo, name, color, description string) error + func (c *Client) CreatePR(ctx context.Context, owner, repo, title, body, head, base string) (int, string, error) + func (c *Client) CreateRelease(ctx context.Context, owner, repo, tag, name, body string, ...) (Release, error) + func (c *Client) CreateRepo(ctx context.Context, name, description string, private bool) (string, error) + func (c *Client) DefaultBranch(ctx context.Context, owner, repo string) (string, error) + func (c *Client) DeleteAsset(ctx context.Context, owner, repo string, assetID int64) error + func (c *Client) DeleteIssueComment(ctx context.Context, owner, repo string, commentID int64) error + func (c *Client) DeleteLabel(ctx context.Context, owner, repo, name string) error + func (c *Client) DeleteRelease(ctx context.Context, owner, repo string, id int64) error + func (c *Client) DownloadAsset(ctx context.Context, owner, repo string, assetID int64) ([]byte, error) + func (c *Client) EditIssueComment(ctx context.Context, owner, repo string, commentID int64, body string) error + func (c *Client) EditLabel(ctx context.Context, owner, repo, name, newName, color, description string) error + func (c *Client) EditRelease(ctx context.Context, owner, repo string, id int64, name, body string, ...) (Release, error) + func (c *Client) GenerateReleaseNotes(ctx context.Context, owner, repo, tag string) (name, body string, err error) + func (c *Client) GetRun(ctx context.Context, owner, repo string, runID int64) (WorkflowRun, error) + func (c *Client) IssueListGraphQL(ctx context.Context, owner, repo, state string) ([]IssueListItem, error) + func (c *Client) JobLogs(ctx context.Context, owner, repo string, jobID int64) (JobLog, error) + func (c *Client) ListAssets(ctx context.Context, owner, repo string, releaseID int64) ([]Asset, error) + func (c *Client) ListDispatchableWorkflows(ctx context.Context, owner, repo string) ([]DispatchableWorkflow, error) + func (c *Client) ListIssueComments(ctx context.Context, owner, repo string, number int) ([]IssueComment, error) + func (c *Client) ListIssues(ctx context.Context, owner, repo, state string) ([]Issue, error) + func (c *Client) ListLabels(ctx context.Context, owner, repo string) ([]Label, error) + func (c *Client) ListMilestones(ctx context.Context, owner, repo, state string) ([]Milestone, error) + func (c *Client) ListPRs(ctx context.Context, owner, repo, state string) ([]PR, error) + func (c *Client) ListReleases(ctx context.Context, owner, repo string) ([]Release, error) + func (c *Client) ListRequestedReviewers(ctx context.Context, owner, repo string, number int) ([]Reviewer, error) + func (c *Client) ListReviewComments(ctx context.Context, owner, repo string, number int) ([]ExistingComment, error) + func (c *Client) ListReviews(ctx context.Context, owner, repo string, number int) ([]Review, error) + func (c *Client) ListRunJobs(ctx context.Context, owner, repo string, runID int64) ([]Job, error) + func (c *Client) ListRuns(ctx context.Context, owner, repo string, limit int) ([]WorkflowRun, error) + func (c *Client) ListWorkflows(ctx context.Context, owner, repo string) ([]Workflow, error) + func (c *Client) LockConversation(ctx context.Context, owner, repo string, number int, reason string) error + func (c *Client) MergePR(ctx context.Context, owner, repo string, number int, method string) (string, error) + func (c *Client) PRChecks(ctx context.Context, owner, repo string, number int) ([]CheckRun, error) + func (c *Client) PRDetailGraphQL(ctx context.Context, owner, repo string, number int) (*PRDetail, error) + func (c *Client) PRDiff(ctx context.Context, owner, repo string, number int) ([]gitops.FileDiff, error) + func (c *Client) PRListGraphQL(ctx context.Context, owner, repo, state string) ([]PRListItem, error) + func (c *Client) RateLimit(ctx context.Context) (remaining, limit int, err error) + func (c *Client) RemoveAssignees(ctx context.Context, owner, repo string, number int, users []string) error + func (c *Client) RemoveLabel(ctx context.Context, owner, repo string, number int, label string) error + func (c *Client) RemoveReviewer(ctx context.Context, owner, repo string, number int, login string) error + func (c *Client) ReplyToReviewComment(ctx context.Context, owner, repo string, number int, commentID int64, ...) error + func (c *Client) RequestReviewers(ctx context.Context, owner, repo string, number int, logins []string) error + func (c *Client) RerunFailed(ctx context.Context, owner, repo string, runID int64) error + func (c *Client) RerunRun(ctx context.Context, owner, repo string, runID int64) error + func (c *Client) ResolveThread(ctx context.Context, threadID string) error + func (c *Client) RunJobGraph(ctx context.Context, owner, repo string, runID int64) ([]JobNode, error) + func (c *Client) SetIssueState(ctx context.Context, owner, repo string, number int, state string) error + func (c *Client) SetLabels(ctx context.Context, owner, repo string, number int, labels []string) error + func (c *Client) SetMilestone(ctx context.Context, owner, repo string, number, milestone int) error + func (c *Client) SetPRState(ctx context.Context, owner, repo string, number int, state string) error + func (c *Client) SubmitReview(ctx context.Context, owner, repo string, number int, event, body string, ...) error + func (c *Client) TriggerDispatch(ctx context.Context, owner, repo, workflowFile, ref string, ...) error + func (c *Client) UnlockConversation(ctx context.Context, owner, repo string, number int) error + func (c *Client) UnresolveThread(ctx context.Context, threadID string) error + func (c *Client) UploadAsset(ctx context.Context, owner, repo string, releaseID int64, name string, ...) (Asset, error) + func (c *Client) Whoami(ctx context.Context) (string, error) + type DispatchInput struct + Default string + Description string + Name string + Options []string + Required bool + Type string + type DispatchableWorkflow struct + ID int64 + Inputs []DispatchInput + Name string + Path string + type ExistingComment struct + Author string + Body string + ID int64 + InReplyTo int64 + Line int + Path string + type Issue struct + Author string + Labels []string + Number int + State string + Title string + When time.Time + type IssueComment struct + Author string + Body string + ID int64 + type IssueListItem struct + Assignees []string + Author string + Labels []string + Number int + State string + Title string + type Job struct + Conclusion string + ID int64 + Name string + Status string + Steps []Step + type JobLog struct + JobName string + Raw string + Steps []StepLog + type JobNode struct + Name string + Needs []string + type Label struct + Color string + Description string + Name string + type Milestone struct + Number int + State string + Title string + type PR struct + Author string + Draft bool + Labels []string + Number int + State string + Title string + When time.Time + type PRDetail struct + Assignees []string + Author string + Body string + Checks []PRDetailCheck + Labels []string + Number int + Reviews []PRDetailReview + State string + Threads []PRDetailThread + Title string + type PRDetailCheck struct + Conclusion string + Name string + Status string + type PRDetailReview struct + Author string + Body string + State string + type PRDetailThread struct + Comments []PRDetailThreadComment + ID string + IsResolved bool + Line int + Path string + type PRDetailThreadComment struct + Author string + Body string + type PRListItem struct + Author string + ChecksFailed int + ChecksPassed int + ChecksPending int + ChecksTotal int + Draft bool + Labels []string + Number int + ReviewDecision string + State string + Title string + type Release struct + Body string + Draft bool + ID int64 + Immutable bool + Name string + Prerelease bool + TagName string + URL string + type Review struct + Author string + Body string + ID int64 + State string + type ReviewComment struct + Body string + Line int + Path string + type Reviewer struct + Login string + type Step struct + Conclusion string + Name string + Number int + Status string + type StepLog struct + Name string + Text string + type Workflow struct + ID int64 + Name string + Path string + State string + type WorkflowRun struct + Branch string + Conclusion string + CreatedAt string + Duration string + Event string + ID int64 + Name string + Number int + Status string + URL string + WorkflowID int64 + WorkflowName string v0.5.0 Sep 7, 2026 v0.4.0 Sep 7, 2026 v0.3.0 Sep 7, 2026 v0.2.0 Sep 5, 2026 v0.1.0 Sep 5, 2026