ci(renovate): drop the report shape dump and record what the report cannot tell
Run 2597 printed it: a branch entry holds branchName, prNo, prTitle, result and upgrades, with no field for a failed post-upgrade task. The protection against an unbumped pull request stays the red renovate/artifacts status and the bump check in Lint. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
23face54cf
commit
b0e7932a76
2 files changed
+3
-10
No files matched your search
@@ -103,15 +103,6 @@ jobs:
|
||||
problems = list(report.get("problems", []))
|
||||
for repo in report.get("repositories", {}).values():
|
||||
problems.extend(repo.get("problems", []))
|
||||
# The shape of the report, once, so that a check on a failed post-upgrade task can be
|
||||
# written against a real field: top-level keys, then per branch its keys and short values.
|
||||
print("Renovate report keys: " + ", ".join(sorted(report)))
|
||||
for name, repo in report.get("repositories", {}).items():
|
||||
print("repository " + name + " keys: " + ", ".join(sorted(repo)))
|
||||
for branch in repo.get("branches", []):
|
||||
print(" branch: " + ", ".join(
|
||||
k + "=" + str(v)[:60].replace("\n", " ") for k, v in sorted(branch.items())
|
||||
if k != "upgrades"))
|
||||
bad = [p for p in problems if p.get("level", 0) >= 50]
|
||||
for p in bad:
|
||||
print("::error::Renovate problem: " + str(p.get("msg", "")))
|
||||
|
||||
Reference in new issue
Block a user