MCPcopy
hub / github.com/kptdev/kpt / GitHubActions

Struct GitHubActions

internal/cmdexport/orchestrators/githubactions.go:27–31  ·  view source on GitHub ↗

GitHubActions represents a GitHub Actions workflow. @see https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions

Source from the content-addressed store, hash-verified

25// GitHubActions represents a GitHub Actions workflow.
26// @see https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
27type GitHubActions struct {
28 Name string `yaml:",omitempty"`
29 On map[string]GitHubActionsTrigger `yaml:",omitempty"`
30 Jobs map[string]GitHubActionsJob `yaml:",omitempty"`
31}
32
33type GitHubActionsTrigger struct {
34 Branches []string `yaml:",omitempty"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected