JGithubCommits::createCommitComment
Method to create a comment on a commit.
Signature
public function createCommitComment(string
$user,
string
$repo,
string
$sha,
string
$comment,
integer
$line,
string
$filepath,
integer
$position )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$sha
- The SHA of the commit to comment on.
-
$comment
- The text of the comment.
-
$line
- The line number of the commit to comment on.
-
$filepath
- A relative path to the file to comment on within the commit.
-
$position
- Line index in the diff to comment on.
Returns