mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +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)
|
pkg, ver = line.split("==", 1)
|
||||||
resolved_versions[pkg.strip().lower()] = ver.strip()
|
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():
|
if temp_in.exists():
|
||||||
temp_in.unlink()
|
temp_in.unlink()
|
||||||
|
if Path("resolved.txt").exists():
|
||||||
|
Path("resolved.txt").unlink()
|
||||||
|
|
||||||
# 5. Map the newly resolved versions back to your pyproject.toml updates
|
# 5. Map the newly resolved versions back to your pyproject.toml updates
|
||||||
updates = {}
|
updates = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user