Kaynağa Gözat

Add comment on how `IssueComment` gets unified.

Eric Huss 2 yıl önce
ebeveyn
işleme
7e85b631fc
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      src/github.rs

+ 3 - 0
src/github.rs

@@ -1256,6 +1256,9 @@ pub enum Event {
     /// - Regular comment on an issue or PR.
     /// - A PR review.
     /// - A comment on a PR review.
+    ///
+    /// These different scenarios are unified into the `IssueComment` variant
+    /// when triagebot receives the corresponding webhook event.
     IssueComment(IssueCommentEvent),
     /// Activity on an issue or PR.
     Issue(IssuesEvent),