@@ -33,6 +33,12 @@ const (
33
33
34
34
var (
35
35
BitbucketEvents = []string {
36
+ "repo:refs_changed" , // position is important here
37
+ "repo:comment:added" ,
38
+ "repo:comment:deleted" ,
39
+ "repo:comment:edited" ,
40
+ "repo:forked" ,
41
+ "repo:modified" ,
36
42
"pr:comment:added" ,
37
43
"pr:comment:deleted" ,
38
44
"pr:comment:edited" ,
@@ -46,19 +52,23 @@ var (
46
52
"pr:reviewer:needs_work" ,
47
53
"pr:reviewer:unapproved" ,
48
54
"pr:reviewer:updated" ,
49
- "repo:comment:added" ,
50
- "repo:comment:deleted" ,
51
- "repo:comment:edited" ,
52
- "repo:forked" ,
53
- "repo:modified" ,
54
- "repo:refs_changed" ,
55
55
}
56
56
57
57
BitbucketEventsDefault = []string {
58
58
"repo:refs_changed" ,
59
59
}
60
60
61
61
BitbucketCloudEvents = []string {
62
+ "repo:push" , // position is important here
63
+ "repo:commit_comment_created" ,
64
+ "repo:commit_status_created" ,
65
+ "repo:commit_status_updated" ,
66
+ "repo:created" ,
67
+ "repo:deleted" ,
68
+ "repo:fork" ,
69
+ "repo:imported" ,
70
+ "repo:transfer" ,
71
+ "repo:updated" ,
62
72
"issue:comment_created" ,
63
73
"issue:created" ,
64
74
"issue:updated" ,
@@ -72,23 +82,17 @@ var (
72
82
"pullrequest:rejected" ,
73
83
"pullrequest:unapproved" ,
74
84
"pullrequest:updated" ,
75
- "repo:commit_comment_created" ,
76
- "repo:commit_status_created" ,
77
- "repo:commit_status_updated" ,
78
- "repo:created" ,
79
- "repo:deleted" ,
80
- "repo:fork" ,
81
- "repo:imported" ,
82
- "repo:push" ,
83
- "repo:transfer" ,
84
- "repo:updated" ,
85
85
}
86
86
87
87
BitbucketCloudEventsDefault = []string {
88
88
"repo:push" ,
89
89
}
90
90
91
91
GitHubEvents = []string {
92
+ "push" , // position is important here
93
+ "pull_request_review_comment" ,
94
+ "pull_request_review" ,
95
+ "pull_request" ,
92
96
"check_run" ,
93
97
"check_suite" ,
94
98
"commit_comment" ,
@@ -115,10 +119,6 @@ var (
115
119
"project_column" ,
116
120
"project" ,
117
121
"public" ,
118
- "pull_request_review_comment" ,
119
- "pull_request_review" ,
120
- "pull_request" ,
121
- "push" ,
122
122
"release" ,
123
123
"repository_import" ,
124
124
"repository_vulnerability_alert" ,
0 commit comments