KnpLabs/php-github-api

How to add a label when creating an issue.

bkuppala95 opened this issue · 0 comments

Hi Team,

I have written this way to create a Github issue.

$client->api('issue')->create($this->owner, $this->repo, ['title' => 'SlackBot Issue ('.$this->serial.')', 'body' => $this->getIssue()]);

How to add a labels to it.

Thanks,
KBK