Stop writing legacy pull request files

This commit is contained in:
Bryan Helmkamp 2026-04-01 20:23:40 -07:00
parent c681e65fdb
commit 15389780f3
No known key found for this signature in database
2 changed files with 0 additions and 7 deletions

View file

@ -131,9 +131,6 @@ async fn create_from(
match record {
Some(record) => {
info!(pr_url = %record.html_url, "Pull request created");
if let Err(err) = record.save(&run_dir.join("pull_request.json")) {
tracing::warn!(error = %err, "Failed to save pull_request.json");
}
if globals.json {
print_json_pretty(&record)?;
} else {

View file

@ -585,10 +585,6 @@ pub async fn pull_request(concluded: Concluded, options: &PullRequestOptions) ->
draft: pr_cfg.draft,
});
pr_url = Some(record.html_url.clone());
if let Err(e) = record.save(&options.run_dir.join("pull_request.json"))
{
tracing::warn!(error = %e, "Failed to save pull_request.json");
}
}
Ok(None) => {}
Err(e) => {