Release

March 9, 20201 Minute Read

New filter parameter in workflow jobs API

We are changing the default behavior of the endpoint in the Actions API that lists the jobs for a workflow run. Previously this endpoint was returning all jobs, including old executions if you have reran the workflow run.

Now, you can set the query parameter filter=latest on the endpoint and not receive old executions of the same job. latest is the new default behavior, but you can use filter=all to use the older behavior and receive all executions.

This is a breaking change. Existing users of this endpoint should add the filter=all query parameter to return to the older behavior.

Learn more about the jobs endpoint in the GitHub Actions API

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

New filter parameter in workflow jobs API - GitHub Changelog