Documentation
¶
Index ¶
- Constants
- func GenerateFallbackMessage(files []string) string
- func GetChangedFiles() []string
- func HasUncommittedChanges() bool
- func Image(build container.Build) string
- func Images(build container.Build) []string
- func Matches(build container.Build) bool
- func New() build.BuildStepv3
- type GithubContainer
- func (c *GithubContainer) BuildImage() error
- func (c *GithubContainer) Comment() error
- func (c *GithubContainer) Commit() error
- func (c *GithubContainer) CopyCommitScript(commitMsg string) error
- func (c *GithubContainer) CopyScript() error
- func (c *GithubContainer) Pull() error
- func (c *GithubContainer) Run() error
Constants ¶
View Source
const (
IMAGE = "maniator/gh"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateFallbackMessage ¶ added in v0.37.8
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 New ¶
func New() build.BuildStepv3
Types ¶
type GithubContainer ¶
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
Click to show internal directories.
Click to hide internal directories.