input

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadGHAEvent

func LoadGHAEvent(ctx context.Context, opts GHAEventOptions) (*normevent.Event, error)

LoadGHAEvent reads GITHUB_EVENT_PATH and maps to NormalizedEvent.

func LoadJSONEvent

func LoadJSONEvent(path string) (*normevent.Event, error)

LoadJSONEvent reads a NormalizedEvent from a JSON file or stdin ("-").

Types

type GHAEventOptions

type GHAEventOptions struct {
	EventPath   string
	EventName   string
	EventAction string
	Repository  string
	GitHubActor string
	Forge       forge.Client
}

GHAEventOptions configures the GitHub Actions event input driver.

Jump to

Keyboard shortcuts

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