Skip to content

Commit adffd84

Browse files
committed
Add missing "commit_url" to issues events payload
1 parent ead0f50 commit adffd84

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

content/v3/issues/events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ determine who should be notified of comments.
2525
<dt>commit_id</dt>
2626
<dd>The String SHA of a commit that referenced this Issue</dd>
2727

28+
<dt>commit_url</dt>
29+
<dd>The GitHub API link to a commit that referenced this Issue</dd>
30+
2831
<dt>event</dt>
2932
<dd>Identifies the actual type of Event that occurred.</dd>
3033

lib/responses/issues_and_prs.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ module Responses
148148
"actor" => USER,
149149
"event" => "closed",
150150
"commit_id" => "6dcb09b5b57875f334f61aebed695e2e4193db5e",
151+
"commit_url" => "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
151152
"created_at" => "2011-04-14T16:00:49Z"
152153
}
153154

0 commit comments

Comments
 (0)