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