[`GH::post_comment`]
(
&self,
inst_id: u64,
owner: &str,
repo: &str,
issue_number: i64,
body: &str,
)
| 427 | |
| 428 | /// [`GH::post_comment`] |
| 429 | async fn post_comment( |
| 430 | &self, |
| 431 | inst_id: u64, |
| 432 | owner: &str, |
| 433 | repo: &str, |
| 434 | issue_number: i64, |
| 435 | body: &str, |
| 436 | ) -> Result<i64> { |
| 437 | let client = self.app_client.installation(InstallationId(inst_id))?; |
| 438 | let comment = client.issues(owner, repo).create_comment(issue_number as u64, body).await?; |
| 439 | Ok(comment.id.0 as i64) |
| 440 | } |
| 441 | |
| 442 | /// [`GH::remove_label`] |
| 443 | async fn remove_label( |
no outgoing calls
no test coverage detected