(self, pr_number: u64)
| 342 | anyhow::bail!("GitHub client not initialized"); |
| 343 | }; |
| 344 | |
| 345 | let pr = octocrab |
| 346 | .pulls("TUM-Dev", "NavigaTUM") |
| 347 | .get(pr_number) |
| 348 | .await?; |
| 349 | |
| 350 | Ok(pr.body.unwrap_or_default()) |
| 351 | } |
| 352 | |
| 353 | /// Update PR description (body) |
| 354 | #[tracing::instrument(skip(description))] |
| 355 | pub async fn update_pr_description( |
| 356 | self, |
| 357 | pr_number: u64, |
| 358 | description: &str, |
no outgoing calls
no test coverage detected