Skip to content
Merged
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
5 changes: 4 additions & 1 deletion src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ pub struct Issue {
/// Note that this field does not come from GitHub. This is manually added
/// when the webhook arrives to help differentiate between an event
/// related to an issue versus a pull request.
#[serde(default)]
///
/// GitHub *does* actually populate this field on some events, but triagebot ignores that data
/// and just stores a bool here when appropriate.
#[serde(skip)]
pub pull_request: bool,
/// Whether or not the pull request was merged.
#[serde(default)]
Expand Down