mirror of
https://github.com/thegeeklab/wp-git-action.git
synced 2024-10-30 03:10:39 +00:00
27 lines
367 B
Go
27 lines
367 B
Go
package git
|
|
|
|
type Author struct {
|
|
Name string
|
|
Email string
|
|
}
|
|
|
|
type Repository struct {
|
|
RemoteName string
|
|
RemoteURL string
|
|
Branch string
|
|
|
|
CommitMsg string
|
|
|
|
Autocorrect string
|
|
NoVerify bool
|
|
EmptyCommit bool
|
|
PushFollowTags bool
|
|
ForcePush bool
|
|
WorkDir string
|
|
IsEmpty bool
|
|
|
|
Author Author
|
|
}
|
|
|
|
const gitBin = "/usr/bin/git"
|