Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubActions ¶
type GithubActions struct {
// contains filtered or unexported fields
}
func New ¶
func New(primer primeable) *GithubActions
func (*GithubActions) Run ¶
func (g *GithubActions) Run(p *Params) error
type Workflow ¶
type Workflow struct { Name string `yaml:"name,omitempty"` On WorkflowTrigger `yaml:"on"` Jobs map[string]WorkflowJob `yaml:"jobs"` }
type WorkflowBranches ¶
type WorkflowBranches struct {
Branches []string `yaml:"branches"`
}
type WorkflowJob ¶
type WorkflowJob struct { Env map[string]interface{} `yaml:"env,omitempty"` RunsOn string `yaml:"runs-on,omitempty"` Steps []WorkflowStep `yaml:"steps,omitempty"` }
type WorkflowStep ¶
type WorkflowTrigger ¶
type WorkflowTrigger struct { Push WorkflowBranches `yaml:"push"` PullRequest WorkflowBranches `yaml:"pull_request"` }
Click to show internal directories.
Click to hide internal directories.