Skip to main content

merge_pr

Function merge_pr 

Source
pub async fn merge_pr(slug: &str, r: &MergeRequest) -> Result<String, String>
Expand description

Merge r as the agent slug with the host’s gh-agent pr merge. The token it uses stays on the host; the answer is what the command said, first lines, bounded. Ok when the merge was done or queued, Err with what GitHub said.