I'm looking for an option similar to Jenkins where I can view the last build, last successful build, last failed build, etc. with a simple api call. The Jenkins example would be:

jenkins_url + /job/${job_name}/lastBuild/

Does Github Actions offer anything comparable to this?

1 Answer 1


List workflow runs would be the equivalent API endpoint in Github Actions:

GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs

You can use the status query parameter e.g. to filter for successful runs:

GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs?status=success

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.