1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-06-12 21:47:35 +02:00

populate github refspec

This commit is contained in:
Brad Rydzewski
2016-11-19 22:36:07 +01:00
parent eee4fd1fd2
commit dc0fdbc221
5 changed files with 22 additions and 3 deletions

View File

@ -68,9 +68,13 @@ type webhook struct {
Avatar string `json:"avatar_url"`
} `json:"user"`
Base struct {
Ref string `json:"ref"`
} `json:"base"`
Head struct {
SHA string
Ref string
SHA string `json:"sha"`
Ref string `json:"ref"`
} `json:"head"`
} `json:"pull_request"`
}