gh

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckRun

type CheckRun struct {
	*Client
	*github.CheckRun
}

func (*CheckRun) Annotate

func (run *CheckRun) Annotate(results junit.TestResults) error

type Client

type Client struct {
	context.Context
	*github.Client
	*github.PullRequestEvent
	Repo, Owner          string
	Token                string
	EventPath, EventType string
	Workflow, Build      string
	PR                   int
	RunID                int64
	SHA, Ref             string
}

func (*Client) Comment

func (gh *Client) Comment(comment string) error

func (*Client) GetActionRun

func (gh *Client) GetActionRun() (*CheckRun, error)

func (*Client) Init

func (gh *Client) Init() error

Jump to

Keyboard shortcuts

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