Versions in this module Expand all Collapse all v0 v0.1.1 Aug 29, 2026 v0.1.0 Aug 29, 2026 Changes in this version + const DefaultCheckout + const DefaultGoVersionFile + const DefaultRunsOn + const DefaultSetupGo + const HeaderGeneratedAction + const HeaderGeneratedWorkflow + func Sync(path string, a Action) (changed bool, err error) + func SyncWorkflow(path string, w Workflow) (changed bool, err error) + func WithCheckoutFetchDepth(depth string) func(*WorkflowStep) + func WithCheckoutFetchTags(v string) func(*WorkflowStep) + type Action struct + Author string + Branding Branding + Description string + Header string + Inputs []Input + Name string + Outputs []Output + Steps []Step + func (a Action) Render() []byte + type Branding struct + Color string + Icon string + type Input struct + Default string + Description string + Name string + Required bool + type Job struct + Env []KeyValue + If string + Permissions map[string]string + RunsOn string + Steps []WorkflowStep + type KeyValue struct + Key string + Value string + type On struct + PullRequest *PullRequest + Push *Push + Schedule []Schedule + WorkflowDispatch *WorkflowDispatch + type Output struct + Description string + Name string + Value string + type PullRequest struct + Branches []string + Paths []string + type Push struct + Branches []string + Paths []string + Tags []string + type Schedule struct + Cron string + type Step struct + Comment string + Env []KeyValue + ID string + If string + Name string + Run string + Shell string + Uses string + With []KeyValue + type Workflow struct + Header string + Jobs map[string]Job + Name string + On On + Permissions map[string]string + func PresetTestWorkflow() Workflow + func (w Workflow) Render() []byte + type WorkflowDispatch struct + type WorkflowStep struct + Env []KeyValue + ID string + If string + Name string + Run string + Shell string + Uses string + With []KeyValue + func CheckoutStep(opts ...func(*WorkflowStep)) WorkflowStep + func CheckoutWithTags() WorkflowStep + func GoTestStep() WorkflowStep + func GoVetStep() WorkflowStep + func SetupGoStep(opts ...func(*WorkflowStep)) WorkflowStep v0.0.1 Aug 29, 2026 Changes in this version + type Ghaction struct + func New() *Ghaction