We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d1a55b + 4dcdaa4 commit aa68cebCopy full SHA for aa68ceb
src/github.rs
@@ -264,7 +264,10 @@ pub struct Issue {
264
/// Note that this field does not come from GitHub. This is manually added
265
/// when the webhook arrives to help differentiate between an event
266
/// related to an issue versus a pull request.
267
- #[serde(default)]
+ ///
268
+ /// GitHub *does* actually populate this field on some events, but triagebot ignores that data
269
+ /// and just stores a bool here when appropriate.
270
+ #[serde(skip)]
271
pub pull_request: bool,
272
/// Whether or not the pull request was merged.
273
#[serde(default)]
0 commit comments