JGithubPulls::createComment
Method to create a comment on a pull request.
Signature
public function createComment(string
$user,
string
$repo,
integer
$pullId,
string
$body,
string
$commitId,
string
$filePath,
string
$position )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$pullId
- The pull request number.
-
$body
- The comment body text.
-
$commitId
- The SHA1 hash of the commit to comment on.
-
$filePath
- The Relative path of the file to comment on.
-
$position
- The line index in the diff to comment on.
Returns