mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-19 06:56:35 +00:00
16 lines
315 B
Go
16 lines
315 B
Go
|
package model
|
||
|
|
||
|
// Hook represents a subset of commit meta-data provided
|
||
|
// by post-commit and pull request hooks.
|
||
|
type Hook struct {
|
||
|
Owner string
|
||
|
Repo string
|
||
|
Sha string
|
||
|
Branch string
|
||
|
PullRequest string
|
||
|
Author string
|
||
|
Gravatar string
|
||
|
Timestamp string
|
||
|
Message string
|
||
|
}
|