Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,9 @@ pub enum IssuesAction {
},
Unlabeled {
/// The label removed from the issue
label: Label,
///
/// The `label` is `None` when a label is deleted from the repository.
label: Option<Label>,
},
Locked,
Unlocked,
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/notify_zulip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub(super) async fn parse_input(
};

match &event.action {
IssuesAction::Labeled { label } | IssuesAction::Unlabeled { label } => {
IssuesAction::Labeled { label } | IssuesAction::Unlabeled { label: Some(label) } => {
let applied_label = label.clone();
Ok(config
.labels
Expand Down
Loading