github

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SummarizeGHPRView

func SummarizeGHPRView(input string, maxLines int) string

func SummarizeGHRunLog

func SummarizeGHRunLog(input string, maxLines int) string

func SummarizeGHRunView

func SummarizeGHRunView(input string, maxLines int) string

func SummarizePRView

func SummarizePRView(input string, maxLines int) string

func SummarizeRunLog

func SummarizeRunLog(input string, maxLines int) string

func SummarizeRunView

func SummarizeRunView(input string, maxLines int) string

Types

type PRFile

type PRFile struct {
	Path      string `json:"path"`
	Additions int    `json:"additions"`
	Deletions int    `json:"deletions"`
}

type PRView

type PRView struct {
	Number         int      `json:"number"`
	Title          string   `json:"title"`
	State          string   `json:"state"`
	IsDraft        bool     `json:"isDraft"`
	HeadRefName    string   `json:"headRefName"`
	BaseRefName    string   `json:"baseRefName"`
	ReviewDecision string   `json:"reviewDecision"`
	Files          []PRFile `json:"files"`
}

type RunJob

type RunJob struct {
	Name       string    `json:"name"`
	Status     string    `json:"status"`
	Conclusion string    `json:"conclusion"`
	Steps      []RunStep `json:"steps"`
}

type RunStep

type RunStep struct {
	Name       string `json:"name"`
	Conclusion string `json:"conclusion"`
}

type RunView

type RunView struct {
	Name         string   `json:"name"`
	DisplayTitle string   `json:"displayTitle"`
	WorkflowName string   `json:"workflowName"`
	Status       string   `json:"status"`
	Conclusion   string   `json:"conclusion"`
	Event        string   `json:"event"`
	HeadBranch   string   `json:"headBranch"`
	URL          string   `json:"url"`
	Jobs         []RunJob `json:"jobs"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL