GitHub Actions · Arazzo Workflow
GitHub Actions Inspect Failed Job Logs
Version 1.0.0
Find the latest failed run, list its jobs, get the failing job, and resolve its log download URL.
Provider
Workflows
inspect-failed-job-logs
Resolve the log download URL for a job in the latest failed run.
Locates the most recent failed run, lists its jobs, gets the first job, and resolves a redirect URL to download that job's logs.
1
findFailedRun
listWorkflowRunsForRepo
List the repository's runs filtered to the failure status and capture the newest failed run id. Branch to the end when there are no failures.
2
listJobs
listJobsForWorkflowRun
List the jobs of the failed run and capture the id of the first job.
3
getJob
getJobForWorkflowRun
Fetch the first job to confirm its conclusion and name before pulling its logs.
4
downloadJobLogs
downloadJobLogsForWorkflowRun
Request the job log file. The API responds with a 302 redirect to a short-lived download URL.