changes

package
v0.3.0-rc.26 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand creates the detect-changes command

Types

type DetectResult

type DetectResult struct {
	TriggeredBuilds  []string `json:"triggered_builds"`
	TriggeredDeploys []string `json:"triggered_deploys"`
	HasChanges       bool     `json:"has_changes"`
	ChangedFiles     []string `json:"changed_files"`
}

DetectResult is the output of detect-changes command

func Detect

func Detect(cfg *config.TrunkConfig, baseSHA, headSHA string) (*DetectResult, error)

Detect determines which builds and deploys are triggered by changes

Jump to

Keyboard shortcuts

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