In V3 of the GitHub API, pull request comments are created in two ways. The first way is to create a comment on a specific line of a file in a commit with the following parameters: | Name | Type | Description | |-----------|---------|--------------------------------------------------------| | body | string | Required. The text of the comment | | commit_id | string | Required. The SHA of the commit to comment on. | | path | string | Required. The relative path of the file to comment on. | | position | integer | Required. The line index in the diff to comment on. | And the second way is through a reply to an existing comment with the following parameters: | Name | Type | Description | |-------------|---------|---------------------------------------| | body | string | Required. The text of the comment | | in_reply_to | integer | Required. The comment id to reply to. | This commit adds support for the second (or "Alternative Input" according to the GitHub docs) way.