checks

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WaitForPullRequestChecksName = "github.waitForPullRequestChecks"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListCheckRunsForRef

type ListCheckRunsForRef struct{}

func (*ListCheckRunsForRef) Cancel

func (*ListCheckRunsForRef) Cleanup

func (c *ListCheckRunsForRef) Cleanup(ctx core.SetupContext) error

func (*ListCheckRunsForRef) Color

func (c *ListCheckRunsForRef) Color() string

func (*ListCheckRunsForRef) Configuration

func (c *ListCheckRunsForRef) Configuration() []configuration.Field

func (*ListCheckRunsForRef) Description

func (c *ListCheckRunsForRef) Description() string

func (*ListCheckRunsForRef) Documentation

func (c *ListCheckRunsForRef) Documentation() string

func (*ListCheckRunsForRef) ExampleOutput

func (c *ListCheckRunsForRef) ExampleOutput() map[string]any

func (*ListCheckRunsForRef) Execute

func (*ListCheckRunsForRef) HandleHook

func (c *ListCheckRunsForRef) HandleHook(ctx core.ActionHookContext) error

func (*ListCheckRunsForRef) HandleWebhook

func (*ListCheckRunsForRef) Hooks

func (c *ListCheckRunsForRef) Hooks() []core.Hook

func (*ListCheckRunsForRef) Icon

func (c *ListCheckRunsForRef) Icon() string

func (*ListCheckRunsForRef) Label

func (c *ListCheckRunsForRef) Label() string

func (*ListCheckRunsForRef) Name

func (c *ListCheckRunsForRef) Name() string

func (*ListCheckRunsForRef) OutputChannels

func (c *ListCheckRunsForRef) OutputChannels(configuration any) []core.OutputChannel

func (*ListCheckRunsForRef) Setup

type ListCheckRunsForRefConfiguration

type ListCheckRunsForRefConfiguration struct {
	Repository string `json:"repository" mapstructure:"repository"`
	Ref        string `json:"ref" mapstructure:"ref"`
	CheckName  string `json:"checkName" mapstructure:"checkName"`
	Status     string `json:"status" mapstructure:"status"`
	Filter     string `json:"filter" mapstructure:"filter"`
}

type OnCheckRun

type OnCheckRun struct{}

func (*OnCheckRun) Cleanup

func (t *OnCheckRun) Cleanup(ctx core.TriggerContext) error

func (*OnCheckRun) Color

func (t *OnCheckRun) Color() string

func (*OnCheckRun) Configuration

func (t *OnCheckRun) Configuration() []configuration.Field

func (*OnCheckRun) Description

func (t *OnCheckRun) Description() string

func (*OnCheckRun) Documentation

func (t *OnCheckRun) Documentation() string

func (*OnCheckRun) ExampleData

func (t *OnCheckRun) ExampleData() map[string]any

func (*OnCheckRun) HandleHook

func (t *OnCheckRun) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)

func (*OnCheckRun) HandleWebhook

func (*OnCheckRun) Hooks

func (t *OnCheckRun) Hooks() []core.Hook

func (*OnCheckRun) Icon

func (t *OnCheckRun) Icon() string

func (*OnCheckRun) Label

func (t *OnCheckRun) Label() string

func (*OnCheckRun) Name

func (t *OnCheckRun) Name() string

func (*OnCheckRun) Setup

func (t *OnCheckRun) Setup(ctx core.TriggerContext) error

type OnCheckRunConfiguration

type OnCheckRunConfiguration struct {
	Repository       string                    `json:"repository" mapstructure:"repository"`
	Statuses         []string                  `json:"statuses" mapstructure:"statuses"`
	Conclusions      []string                  `json:"conclusions" mapstructure:"conclusions"`
	Names            []configuration.Predicate `json:"names" mapstructure:"names"`
	Branches         []configuration.Predicate `json:"branches" mapstructure:"branches"`
	PullRequestsOnly bool                      `json:"pullRequestsOnly" mapstructure:"pullRequestsOnly"`
}

type PullRequestCheck

type PullRequestCheck struct {
	Key         string `json:"key"`
	Name        string `json:"name"`
	Kind        string `json:"kind"`
	Status      string `json:"status"`
	Conclusion  string `json:"conclusion,omitempty"`
	Description string `json:"description,omitempty"`
	Summary     string `json:"summary,omitempty"`
	DetailsURL  string `json:"detailsUrl,omitempty"`
}

type WaitForPullRequestChecks

type WaitForPullRequestChecks struct{}

func (*WaitForPullRequestChecks) Cancel

func (*WaitForPullRequestChecks) Cleanup

func (*WaitForPullRequestChecks) Color

func (c *WaitForPullRequestChecks) Color() string

func (*WaitForPullRequestChecks) Configuration

func (c *WaitForPullRequestChecks) Configuration() []configuration.Field

func (*WaitForPullRequestChecks) Description

func (c *WaitForPullRequestChecks) Description() string

func (*WaitForPullRequestChecks) Documentation

func (c *WaitForPullRequestChecks) Documentation() string

func (*WaitForPullRequestChecks) ExampleOutput

func (c *WaitForPullRequestChecks) ExampleOutput() map[string]any

func (*WaitForPullRequestChecks) Execute

func (*WaitForPullRequestChecks) HandleHook

func (*WaitForPullRequestChecks) HandleWebhook

func (*WaitForPullRequestChecks) Hooks

func (c *WaitForPullRequestChecks) Hooks() []core.Hook

func (*WaitForPullRequestChecks) Icon

func (c *WaitForPullRequestChecks) Icon() string

func (*WaitForPullRequestChecks) Label

func (c *WaitForPullRequestChecks) Label() string

func (*WaitForPullRequestChecks) Name

func (c *WaitForPullRequestChecks) Name() string

func (*WaitForPullRequestChecks) OutputChannels

func (c *WaitForPullRequestChecks) OutputChannels(configuration any) []core.OutputChannel

func (*WaitForPullRequestChecks) Setup

type WaitForPullRequestChecksConfiguration

type WaitForPullRequestChecksConfiguration struct {
	Repository     string   `json:"repository" mapstructure:"repository"`
	Ref            string   `json:"ref" mapstructure:"ref"`
	CheckNames     []string `json:"checkNames" mapstructure:"checkNames"`
	TimeoutSeconds *int     `json:"timeoutSeconds" mapstructure:"timeoutSeconds"`
}

type WaitForPullRequestChecksMetadata

type WaitForPullRequestChecksMetadata struct {
	Repository     string             `json:"repository" mapstructure:"repository"`
	SHA            string             `json:"sha" mapstructure:"sha"`
	StartedAt      time.Time          `json:"startedAt" mapstructure:"startedAt"`
	LastChangeAt   time.Time          `json:"lastChangeAt" mapstructure:"lastChangeAt"`
	TimeoutAt      time.Time          `json:"timeoutAt" mapstructure:"timeoutAt"`
	CompletedAt    *time.Time         `json:"completedAt,omitempty" mapstructure:"completedAt"`
	Fingerprint    string             `json:"fingerprint" mapstructure:"fingerprint"`
	Outcome        string             `json:"outcome" mapstructure:"outcome"`
	Checks         []PullRequestCheck `json:"checks" mapstructure:"checks"`
	SelectedChecks []PullRequestCheck `json:"selectedChecks" mapstructure:"selectedChecks"`
	FailedChecks   []PullRequestCheck `json:"failedChecks" mapstructure:"failedChecks"`
}

type WaitForPullRequestChecksOutput

type WaitForPullRequestChecksOutput struct {
	Repository     string             `json:"repository"`
	SHA            string             `json:"sha"`
	Checks         []PullRequestCheck `json:"checks"`
	SelectedChecks []PullRequestCheck `json:"selectedChecks"`
	FailedChecks   []PullRequestCheck `json:"failedChecks"`
	StartedAt      time.Time          `json:"startedAt"`
	CompletedAt    time.Time          `json:"completedAt"`
}

Jump to

Keyboard shortcuts

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