models

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GHJob

type GHJob struct {
	Name         string `json:"name"`
	Status       string `json:"status"`
	Conclusion   string `json:"conclusion"`
	WorkflowName string
	RunID        int
}

GHJob represents a single job in a workflow run

type GHRun

type GHRun struct {
	DatabaseID   int       `json:"databaseId"`
	DisplayTitle string    `json:"displayTitle"`
	WorkflowName string    `json:"workflowName"`
	Status       string    `json:"status"`
	Conclusion   string    `json:"conclusion"`
	CreatedAt    time.Time `json:"createdAt"`
	HeadBranch   string    `json:"headBranch"`
}

GHRun represents a GitHub workflow run

type GHRunDetail

type GHRunDetail struct {
	Jobs []GHJob `json:"jobs"`
}

GHRunDetail contains the jobs for a workflow run

Jump to

Keyboard shortcuts

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