I am looking for an API to retrieve previous runs of a specific workflow in GitHub Actions. I found the API that returns the previous runs of my entire repository, but I only need the runs of a specific workflow.
This link perfectly describes what I am looking for as an API: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history