We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b11759 commit 2a9a0eaCopy full SHA for 2a9a0ea
src/github.rs
@@ -1168,7 +1168,9 @@ pub enum IssuesAction {
1168
},
1169
Unlabeled {
1170
/// The label removed from the issue
1171
- label: Label,
+ ///
1172
+ /// The `label` is `None` when a label is deleted from the repository.
1173
+ label: Option<Label>,
1174
1175
Locked,
1176
Unlocked,
src/handlers/notify_zulip.rs
@@ -32,7 +32,7 @@ pub(super) async fn parse_input(
32
};
33
34
match &event.action {
35
- IssuesAction::Labeled { label } | IssuesAction::Unlabeled { label } => {
+ IssuesAction::Labeled { label } | IssuesAction::Unlabeled { label: Some(label) } => {
36
let applied_label = label.clone();
37
Ok(config
38
.labels
0 commit comments