support confidential notes on gitlab webhooks

This commit is contained in:
jesopo 2019-10-28 14:21:54 +00:00
parent 69e2511725
commit 5a095b0787

View file

@ -12,9 +12,12 @@ EVENT_CATEGORIES = {
], ],
"pr": [ "pr": [
"merge_request/open", "merge_request/close", "merge_request/reopen", "merge_request/open", "merge_request/close", "merge_request/reopen",
"merge_request/update", "merge_request/merge" "merge_request/update", "merge_request/merge", "note+mergerequest",
"confidential_note+mergerequest"
],
"pr-all": [
"merge_request", "note+mergerequest", "confidential_note+mergerequest"
], ],
"pr-all": ["merge_request"],
"issue-minimal": [ "issue-minimal": [
"issue/open", "issue/close", "issue/reopen", "confidential_issue/open", "issue/open", "issue/close", "issue/reopen", "confidential_issue/open",
"confidential_issue/close", "confidential_issue/reopen" "confidential_issue/close", "confidential_issue/reopen"
@ -22,13 +25,11 @@ EVENT_CATEGORIES = {
"issue": [ "issue": [
"issue/open", "issue/close", "issue/reopen", "issue/update", "issue/open", "issue/close", "issue/reopen", "issue/update",
"confidential_issue/open", "confidential_issue/close", "confidential_issue/open", "confidential_issue/close",
"confidential_issue/reopen", "confidential_issue/update", "confidential_issue/reopen", "confidential_issue/update", "note+issue",
"confidential_note+issue"
], ],
"issue-all": [ "issue-all": [
"issue", "issue_comment", "confidential_issue" "issue", "confidential_issue", "note+issue", "confidential_note+issue"
],
"issue-comment-minimal": [
"issue_comment/created", "issue_comment/deleted"
], ],
"repo": ["tag_push"] "repo": ["tag_push"]
} }