[no ci] Enhance upgrade_deps.yml with comments and cleanup

Updated comments for clarity and added cleanup for resolved.txt.
This commit is contained in:
Jay Lee
2026-06-27 15:10:29 -04:00
committed by GitHub
parent d12289c4f4
commit eb59663f6a

View File

@@ -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 = {}