mirror of
https://github.com/thegeeklab/wp-git-action.git
synced 2024-11-13 22:50:41 +00:00
30 lines
454 B
Go
30 lines
454 B
Go
package git
|
|
|
|
type Author struct {
|
|
Name string
|
|
Email string
|
|
}
|
|
|
|
type Repository struct {
|
|
RemoteName string
|
|
RemoteURL string
|
|
Branch string
|
|
|
|
Add string
|
|
CommitMsg string
|
|
|
|
Autocorrect string
|
|
NoVerify bool
|
|
InsecureSSLVerify bool
|
|
EmptyCommit bool
|
|
PushFollowTags bool
|
|
ForcePush bool
|
|
SSLVerify bool
|
|
WorkDir string
|
|
InitExists bool
|
|
|
|
Author Author
|
|
}
|
|
|
|
const gitBin = "/usr/bin/git"
|