mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
[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:
4
.github/workflows/upgrade_deps.yml
vendored
4
.github/workflows/upgrade_deps.yml
vendored
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user