diff --git a/github/WorkflowRun.py b/github/WorkflowRun.py index 05121c23..c0bac8a5 100644 --- a/github/WorkflowRun.py +++ b/github/WorkflowRun.py @@ -233,8 +233,8 @@ class WorkflowRun(github.GithubObject.CompletableGithubObject): :calls: `GET /repos/:owner/:repo/actions/runs/:run_id/timing `_ :rtype: namedtuple with billable and run_duration_ms members """ - timingdata = namedtuple("TimingData", ["billable", "run_duration_ms"]) headers, data = self._requester.requestJsonAndCheck("GET", self.url + "/timing") + timingdata = namedtuple("TimingData", data.keys()) return timingdata._make(data.values()) def _initAttributes(self):