github

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IMAGE = "maniator/gh"
)

Variables

This section is empty.

Functions

func GenerateFallbackMessage added in v0.37.8

func GenerateFallbackMessage(files []string) string

GenerateFallbackMessage generates a commit message based on changed files

func GetChangedFiles added in v0.37.8

func GetChangedFiles() []string

GetChangedFiles returns a list of changed files in the git repository

func HasUncommittedChanges added in v0.37.8

func HasUncommittedChanges() bool

HasUncommittedChanges returns true if there are uncommitted changes in the git repository

func Image

func Image(build container.Build) string

func Images added in v0.31.0

func Images(build container.Build) []string

func Matches added in v0.31.0

func Matches(build container.Build) bool

Matches implements the Build interface - GitHub runs for all builds

func New

func New() build.BuildStepv3

Types

type GithubContainer

type GithubContainer struct {
	*container.Container
	// contains filtered or unexported fields
}

func (*GithubContainer) BuildImage

func (c *GithubContainer) BuildImage() error

func (*GithubContainer) Comment

func (c *GithubContainer) Comment() error

func (*GithubContainer) Commit added in v0.37.8

func (c *GithubContainer) Commit() error

Commit creates a git commit with changes and pushes to the remote

func (*GithubContainer) CopyCommitScript added in v0.37.8

func (c *GithubContainer) CopyCommitScript(commitMsg string) error

CopyCommitScript copies the commit script to the container

func (*GithubContainer) CopyScript

func (c *GithubContainer) CopyScript() error

func (*GithubContainer) Pull

func (c *GithubContainer) Pull() error

func (*GithubContainer) Run

func (c *GithubContainer) Run() error

Jump to

Keyboard shortcuts

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