From eb59663f6a7e668f91817940d55f8f6e94612f2a Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sat, 27 Jun 2026 15:10:29 -0400 Subject: [PATCH] [no ci] Enhance upgrade_deps.yml with comments and cleanup Updated comments for clarity and added cleanup for resolved.txt. --- .github/workflows/upgrade_deps.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upgrade_deps.yml b/.github/workflows/upgrade_deps.yml index d3ad9382..a30c2913 100644 --- a/.github/workflows/upgrade_deps.yml +++ b/.github/workflows/upgrade_deps.yml @@ -102,9 +102,11 @@ jobs: pkg, ver = line.split("==", 1) resolved_versions[pkg.strip().lower()] = ver.strip() - # Cleanup temp file + # Cleanup temp files so they don't get committed to the PR if temp_in.exists(): temp_in.unlink() + if Path("resolved.txt").exists(): + Path("resolved.txt").unlink() # 5. Map the newly resolved versions back to your pyproject.toml updates updates = {}