diff --git a/src/event.rs b/src/event.rs index 4e4d5d3..cd0d3ad 100644 --- a/src/event.rs +++ b/src/event.rs @@ -42,6 +42,12 @@ pub enum MergeRequestAction { Opened, #[serde(rename = "close")] Closed, + #[serde(rename = "reopen")] + Reopened, + #[serde(rename = "approved")] + Approved, + #[serde(rename = "unapproved")] + Unapproved, #[serde(rename = "merge")] Merged, #[serde(other)] @@ -53,6 +59,9 @@ impl MergeRequestAction { match self { MergeRequestAction::Opened => "opened", MergeRequestAction::Closed => "closed", + MergeRequestAction::Reopened => "reopened", + MergeRequestAction::Approved => "approved", + MergeRequestAction::Unapproved => "unapproved", MergeRequestAction::Merged => "merged", MergeRequestAction::Other => "other", }