Hopefully I'm not missing something obvious, but is there a way to scroll back or call Github Action's API to get the workflow and logs of older runs? It seems the webpage lets you look back around 12 previous workflows. If this is not a capability yet, it would be a really helpful addition.
Solved! Solved! Go to Solution.
Thanks for being here! In the UI via the Actions Tab, it’s possible to look at previously executed workflows. I can see how this can be valuable and will add it to the feedback for the team.
In the API, there’s no endpoint for fetching workflows. However, because GitHub Actions creates a check suite per workflow and a check run per executed action in said workflow, someone could use the Checks API to get that information though it’s not as straightforward because it requires the knowledge of a specific SHA:
I hope this helps!
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
Hi Andrea. Thanks for the reply.
I see the previous executed runs, there just aren't very many available and no way to scroll pages back to look at previous pages of runs. For folks wanting to use this for CICD (like I'd like to) it would be a very helpful feature.