Add a tiny but important logging

The first commit in 2023
This commit is contained in:
Mikhail f. Shiryaev 2023-01-02 13:26:19 +01:00
parent f7fbaf9c99
commit ec79257bb6
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -366,6 +366,7 @@ def check_need_to_rerun(workflow_description, token):
jobs = get_workflow_jobs(workflow_description, token)
print("Got jobs", len(jobs))
for job in jobs:
print(f"Job {job['name']} has a conclusion '{job['conclusion']}'")
if job["conclusion"] not in ("success", "skipped"):
print("Job", job["name"], "failed, checking steps")
for step in job["steps"]: