Skip to content

Commit

Permalink
Add missing issue event types (#2024)
Browse files Browse the repository at this point in the history
* Add 'transferred' event type

* Add missing force push event. Fixes #2025
  • Loading branch information
hnrkndrssn authored and shiftkey committed Oct 8, 2019
1 parent 3e7c70c commit 311e89a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Octokit/Models/Response/EventInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ public enum EventInfoState
/// </summary>
[Parameter(Value = "head_ref_restored")]
HeadRefRestored,

/// <summary>
/// The pull request’s branch was force pushed to.
/// </summary>
[Parameter(Value = "head_ref_force_pushed")]
HeadRefForcePushed,

/// <summary>
/// The actor dismissed a review from the pull request.
Expand Down Expand Up @@ -296,6 +302,12 @@ public enum EventInfoState
/// An issue comment was deleted.
/// </summary>
[Parameter(Value = "comment_deleted")]
CommentDeleted
CommentDeleted,

/// <summary>
/// An issue was transferred.
/// </summary>
[Parameter(Value = "transferred")]
Transferred
}
}

0 comments on commit 311e89a

Please sign in to comment.