Added support for Bitbucket server pr:from_ref_updated event.

This commit is contained in:
chhsia0
2020-05-27 19:55:08 -07:00
parent 7a4edfce55
commit 7c046447e2
2 changed files with 18 additions and 5 deletions
+8
View File
@@ -66,6 +66,14 @@ type PullRequestOpenedPayload struct {
PullRequest PullRequest `json:"pullRequest"`
}
type PullRequestFromReferenceUpdatedPayload struct {
Date Date `json:"date"`
EventKey Event `json:"eventKey"`
Actor User `json:"actor"`
PullRequest PullRequest `json:"pullRequest"`
PreviousFromHash string `json:"previousFromHash"`
}
type PullRequestModifiedPayload struct {
Date Date `json:"date"`
EventKey Event `json:"eventKey"`