fixup! Add support for merge request events
This commit is contained in:
parent
2c6afec308
commit
b54933e4af
@ -42,6 +42,12 @@ pub enum MergeRequestAction {
|
|||||||
Opened,
|
Opened,
|
||||||
#[serde(rename = "close")]
|
#[serde(rename = "close")]
|
||||||
Closed,
|
Closed,
|
||||||
|
#[serde(rename = "reopen")]
|
||||||
|
Reopened,
|
||||||
|
#[serde(rename = "approved")]
|
||||||
|
Approved,
|
||||||
|
#[serde(rename = "unapproved")]
|
||||||
|
Unapproved,
|
||||||
#[serde(rename = "merge")]
|
#[serde(rename = "merge")]
|
||||||
Merged,
|
Merged,
|
||||||
#[serde(other)]
|
#[serde(other)]
|
||||||
@ -53,6 +59,9 @@ impl MergeRequestAction {
|
|||||||
match self {
|
match self {
|
||||||
MergeRequestAction::Opened => "opened",
|
MergeRequestAction::Opened => "opened",
|
||||||
MergeRequestAction::Closed => "closed",
|
MergeRequestAction::Closed => "closed",
|
||||||
|
MergeRequestAction::Reopened => "reopened",
|
||||||
|
MergeRequestAction::Approved => "approved",
|
||||||
|
MergeRequestAction::Unapproved => "unapproved",
|
||||||
MergeRequestAction::Merged => "merged",
|
MergeRequestAction::Merged => "merged",
|
||||||
MergeRequestAction::Other => "other",
|
MergeRequestAction::Other => "other",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user