Fix some webhooks bugs (#3981)
* fix some webhooks bugs * update vendor Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * fix test * fix clearlabels * fix pullrequest webhook bug fix #3492 * update release webhook description * remove unused code * fix push webhook in pull request * small changes
This commit is contained in:
parent
dc0ef38950
commit
6bdc556b7f
16 changed files with 277 additions and 45 deletions
2
vendor/code.gitea.io/sdk/gitea/hook.go
generated
vendored
2
vendor/code.gitea.io/sdk/gitea/hook.go
generated
vendored
|
@ -327,6 +327,8 @@ type HookReleaseAction string
|
|||
// all release actions
|
||||
const (
|
||||
HookReleasePublished HookReleaseAction = "published"
|
||||
HookReleaseUpdated HookReleaseAction = "updated"
|
||||
HookReleaseDeleted HookReleaseAction = "deleted"
|
||||
)
|
||||
|
||||
// ReleasePayload represents a payload information of release event.
|
||||
|
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
|
@ -9,10 +9,10 @@
|
|||
"revisionTime": "2018-04-21T01:08:19Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "LnxY/6xD4h9dCCJ5nxKEfZZs1Vk=",
|
||||
"checksumSHA1": "2m0bMciZiWzFbfntlaqUpMaIBSA=",
|
||||
"path": "code.gitea.io/sdk/gitea",
|
||||
"revision": "7fa627fa5d67d18c39d6dd3c6c4db836916bf234",
|
||||
"revisionTime": "2018-05-10T12:54:05Z"
|
||||
"revision": "b2308e3f700875a3642a78bd3f6e5db8ef6f974d",
|
||||
"revisionTime": "2018-05-18T06:06:32Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "bOODD4Gbw3GfcuQPU2dI40crxxk=",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue