I have found a document here that explains how you might use the browser to find out how long a job took in a workflow. Note the difference between the billable time and the total duration.
I’m interested in this “total duration” since I want to measure how long my tests take on an open-source project. These hours are non-billable, but I still want to keep my project light. The GitHub API however, doesn’t seem to offer a way for me to retrieve those.
I’ve found the workflow run usage API but that only tracks billable hours. That’s not going to be useful for my open-source project.
I guess I could build a website scraper but it really feels like this should be listed in an API somewhere. Am I missing something? Has anybody found where I might be able to retrieve this information?