Versions in this module Expand all Collapse all v0 v0.9.1 Mar 11, 2026 Changes in this version + func GetCurrentPR() (int, error) + func GetToken() (string, error) + func NewClient(ctx context.Context) (*github.Client, error) + func ParseOwnerRepo() (string, string, error) + type Annotation struct + AnnotationLevel string + Message string + Path string + StartLine int + Title string + type CheckRunInfo struct + Annotations []Annotation + CompletedAt *time.Time + Conclusion string + DetailsURL string + Name string + StartedAt *time.Time + Status string + Summary string + WorkflowName string + func FetchCheckRunsGraphQL(ctx context.Context, token, owner, repo string, prNumber int) ([]CheckRunInfo, int, error) + type CheckRunsResult struct + CheckRuns []*github.CheckRun + RateLimitRemaining int + func FetchCheckRuns(ctx context.Context, client *github.Client, owner, repo, sha string) (*CheckRunsResult, error) + type PRInfo struct + CreatedAt string + HeadCommitDate string + HeadSHA string + Number int + Title string + func FetchPRInfo(ctx context.Context, client *github.Client, owner, repo string, prNumber int) (*PRInfo, error) + func GetCurrentPRFull() (*PRInfo, error)