Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle deleted labels #1878

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jan 7, 2025

This fixes a bug when a label is deleted from a repository. In that situation, the label field is absent in the issues event. This was causing a deserialization error when processing the webhook event.

According to the webhook docs, the labeled event is also optional, but I can't figure out a situation where that might happen, so I didn't bother changing it.

@jackh726 jackh726 merged commit 38b904f into rust-lang:master Jan 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants