Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Concurrency ¶
type Job ¶
type Job struct {
Name string `yaml:"name,omitempty"`
RunsOn string `yaml:"runs-on"`
Container *Container `yaml:"container,omitempty"`
Needs []string `yaml:"needs,omitempty"`
If string `yaml:"if,omitempty"`
Environment string `yaml:"environment,omitempty"`
Concurrency *Concurrency `yaml:"concurrency,omitempty"`
Env map[string]string `yaml:"env,omitempty"`
Steps []Step `yaml:"steps"`
}
type PushTrigger ¶
type PushTrigger struct {
Branches []string `yaml:"branches,omitempty"`
}
type Workflow ¶
type Workflow struct {
Name string `yaml:"name"`
On WorkflowTrigger `yaml:"on"`
Permissions map[string]string `yaml:"permissions,omitempty"`
Env map[string]string `yaml:"env,omitempty"`
Concurrency *Concurrency `yaml:"concurrency,omitempty"`
Jobs map[string]*Job `yaml:"jobs"`
}
type WorkflowTrigger ¶
type WorkflowTrigger struct {
Push *PushTrigger `yaml:"push,omitempty"`
PullRequest *PRTrigger `yaml:"pull_request,omitempty"`
WorkflowDispatch any `yaml:"workflow_dispatch,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.