dependabot_rebase

Function dependabot_rebase 

Source
pub fn dependabot_rebase(pr_number: usize) -> Result<()>
Expand description

Trigger Dependabot to rebase a pull request.

Sends the special @dependabot rebase comment recognized by Dependabot to request an up‑to‑date rebase of its generated pull request. Useful when the PR is out-of-date with the base branch or conflicting after merges.

§Errors

  • Spawning or executing gh pr comment fails.
  • Command exits with non‑zero status (propagated by [ytil_cmd::CmdExt]).