Documentation
¶
Index ¶
- Constants
- type ListCheckRunsForRef
- func (c *ListCheckRunsForRef) Cancel(ctx core.ExecutionContext) error
- func (c *ListCheckRunsForRef) Cleanup(ctx core.SetupContext) error
- func (c *ListCheckRunsForRef) Color() string
- func (c *ListCheckRunsForRef) Configuration() []configuration.Field
- func (c *ListCheckRunsForRef) Description() string
- func (c *ListCheckRunsForRef) Documentation() string
- func (c *ListCheckRunsForRef) ExampleOutput() map[string]any
- func (c *ListCheckRunsForRef) Execute(ctx core.ExecutionContext) error
- func (c *ListCheckRunsForRef) HandleHook(ctx core.ActionHookContext) error
- func (c *ListCheckRunsForRef) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *ListCheckRunsForRef) Hooks() []core.Hook
- func (c *ListCheckRunsForRef) Icon() string
- func (c *ListCheckRunsForRef) Label() string
- func (c *ListCheckRunsForRef) Name() string
- func (c *ListCheckRunsForRef) OutputChannels(configuration any) []core.OutputChannel
- func (c *ListCheckRunsForRef) Setup(ctx core.SetupContext) error
- type ListCheckRunsForRefConfiguration
- type OnCheckRun
- func (t *OnCheckRun) Cleanup(ctx core.TriggerContext) error
- func (t *OnCheckRun) Color() string
- func (t *OnCheckRun) Configuration() []configuration.Field
- func (t *OnCheckRun) Description() string
- func (t *OnCheckRun) Documentation() string
- func (t *OnCheckRun) ExampleData() map[string]any
- func (t *OnCheckRun) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (t *OnCheckRun) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (t *OnCheckRun) Hooks() []core.Hook
- func (t *OnCheckRun) Icon() string
- func (t *OnCheckRun) Label() string
- func (t *OnCheckRun) Name() string
- func (t *OnCheckRun) Setup(ctx core.TriggerContext) error
- type OnCheckRunConfiguration
- type PullRequestCheck
- type WaitForPullRequestChecks
- func (c *WaitForPullRequestChecks) Cancel(ctx core.ExecutionContext) error
- func (c *WaitForPullRequestChecks) Cleanup(ctx core.SetupContext) error
- func (c *WaitForPullRequestChecks) Color() string
- func (c *WaitForPullRequestChecks) Configuration() []configuration.Field
- func (c *WaitForPullRequestChecks) Description() string
- func (c *WaitForPullRequestChecks) Documentation() string
- func (c *WaitForPullRequestChecks) ExampleOutput() map[string]any
- func (c *WaitForPullRequestChecks) Execute(ctx core.ExecutionContext) error
- func (c *WaitForPullRequestChecks) HandleHook(ctx core.ActionHookContext) error
- func (c *WaitForPullRequestChecks) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *WaitForPullRequestChecks) Hooks() []core.Hook
- func (c *WaitForPullRequestChecks) Icon() string
- func (c *WaitForPullRequestChecks) Label() string
- func (c *WaitForPullRequestChecks) Name() string
- func (c *WaitForPullRequestChecks) OutputChannels(configuration any) []core.OutputChannel
- func (c *WaitForPullRequestChecks) Setup(ctx core.SetupContext) error
- type WaitForPullRequestChecksConfiguration
- type WaitForPullRequestChecksMetadata
- type WaitForPullRequestChecksOutput
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 (c *ListCheckRunsForRef) Cancel(ctx core.ExecutionContext) error
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 (c *ListCheckRunsForRef) Execute(ctx core.ExecutionContext) error
func (*ListCheckRunsForRef) HandleHook ¶
func (c *ListCheckRunsForRef) HandleHook(ctx core.ActionHookContext) error
func (*ListCheckRunsForRef) HandleWebhook ¶
func (c *ListCheckRunsForRef) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
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 ¶
func (c *ListCheckRunsForRef) Setup(ctx core.SetupContext) error
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 (t *OnCheckRun) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
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 (c *WaitForPullRequestChecks) Cancel(ctx core.ExecutionContext) error
func (*WaitForPullRequestChecks) Cleanup ¶
func (c *WaitForPullRequestChecks) Cleanup(ctx core.SetupContext) error
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 (c *WaitForPullRequestChecks) Execute(ctx core.ExecutionContext) error
func (*WaitForPullRequestChecks) HandleHook ¶
func (c *WaitForPullRequestChecks) HandleHook(ctx core.ActionHookContext) error
func (*WaitForPullRequestChecks) HandleWebhook ¶
func (c *WaitForPullRequestChecks) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
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 ¶
func (c *WaitForPullRequestChecks) Setup(ctx core.SetupContext) error
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"`
}
Click to show internal directories.
Click to hide internal directories.