workflow

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Jobs map[string]Job `yaml:"jobs"`
}

Action represents the structure of a GitHub Actions workflow file

type Job

type Job struct {
	Uses  string                 `yaml:"uses"`
	With  map[string]interface{} `yaml:"with"`
	Steps []Step                 `yaml:"steps"`
}

Job represents a job in a GitHub Actions workflow

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

Processor handles workflow file parsing and pattern extraction

func New

func New() *Processor

New creates a new workflow processor

func (*Processor) AssignmentPattern

func (p *Processor) AssignmentPattern() *regex.Processor

AssignmentPattern returns the regex processor for assignment patterns

func (*Processor) ParseAllFiles

func (p *Processor) ParseAllFiles() error

ParseAllFiles finds and parses all workflow files

type Step

type Step struct {
	Uses string                 `yaml:"uses"`
	With map[string]interface{} `yaml:"with"`
	Name string                 `yaml:"name"`
}

Step represents a step within a job in a GitHub Actions workflow

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL