Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventWithTypes ¶
type EventWithTypes struct {
Types StringOrList `yaml:"types"`
}
type EventWithoutTypes ¶
type EventWithoutTypes struct {
}
type GitHubWorkflow ¶
type Job ¶
type Job struct {
Name string `yaml:"name,omitempty"`
Needs *StringOrList `yaml:"needs,omitempty"`
RunsOn *StringOrList `yaml:"runs-on,omitempty"`
Env map[string]interface{} `yaml:"env,omitempty"`
If string `yaml:"if,omitempty"`
Steps []*Step `yaml:"steps,omitempty"`
Container *Container `yaml:"container,omitempty"`
}
type MultiEvent ¶
type MultiEvent struct {
CheckRun *EventWithTypes
CheckSuite *EventWithTypes
Create *EventWithoutTypes
Delete *EventWithoutTypes
Deployment *EventWithoutTypes
DeploymentStatus *EventWithoutTypes
Fork *EventWithoutTypes
Gollum *EventWithoutTypes
IssueComment *EventWithTypes
Issues *EventWithTypes
Label *EventWithTypes
Milestone *EventWithTypes
PageBuild *EventWithoutTypes
Project *EventWithTypes
ProjectCard *EventWithTypes
ProjectColumn *EventWithTypes
Public *EventWithoutTypes
PullRequest *PushPullEvent
PullRequestReview *EventWithTypes
PullRequestReviewComment *EventWithTypes
Push *PushPullEvent
RegistryPackage *EventWithTypes
Release *EventWithTypes
Status *EventWithoutTypes
Watch *EventWithTypes
Schedule *ScheduleEvent
RepositoryDispatch *EventWithoutTypes
}
func (*MultiEvent) UnmarshalYAML ¶
func (me *MultiEvent) UnmarshalYAML(unmarshal func(interface{}) error) error
type PushPullEvent ¶
type PushPullEvent struct {
Types StringOrList `yaml:"types"`
Branches []string `yaml:"branches,omitempty"`
BranchesIgnore []string `yaml:"branches-ignore,omitempty"`
Tags []string `yaml:"tags,omitempty"`
TagsIgnore []string `yaml:"tags-ignore,omitempty"`
Paths []string `yaml:"paths,omitempty"`
PathsIgnore []string `yaml:"paths-ignore,omitempty"`
}
type ScheduleEvent ¶
type ScheduleEvent struct {
Crons []Cron `yaml:"-"`
}
type Step ¶
type Step struct {
Name string `yaml:"name,omitempty"`
If string `yaml:"if,omitempty"`
Uses string `yaml:"uses,omitempty"`
Run string `yaml:"run,omitempty"`
Shell string `yaml:"shell,omitempty"`
With *With `yaml:"with,omitempty"`
ContinueOnError *bool `yaml:"continue-on-error,omitempty"`
TimeoutMinutes int `yaml:"timeout-minutes,omitempty"`
}
type StringOrList ¶
type StringOrList struct {
Type StringOrListType
StrVal *string
ListVal []string
}
func (*StringOrList) UnmarshalYAML ¶
func (sl *StringOrList) UnmarshalYAML(unmarshal func(interface{}) error) error
type Trigger ¶
type Trigger struct {
Type TriggerType
StringOrListVal *StringOrList
MultiEventVal *MultiEvent
}
func (*Trigger) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.