gh

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 6 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
	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()

Jump to

Keyboard shortcuts

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