MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / delete

Method delete

github/WorkflowRun.py:355–360  ·  view source on GitHub ↗

:calls: `DELETE /repos/{owner}/{repo}/actions/runs/{run_id} `_

(self)

Source from the content-addressed store, hash-verified

353 return TimingData(billable=data["billable"], run_duration_ms=data.get("run_duration_ms"))
354
355 def delete(self) -> bool:
356 """
357 :calls: `DELETE /repos/{owner}/{repo}/actions/runs/{run_id} <https://docs.github.com/en/rest/reference/actions#workflow-runs>`_
358 """
359 status, _, _ = self._requester.requestJson("DELETE", self.url)
360 return status == 204
361
362 def jobs(self, _filter: Opt[str] = NotSet) -> PaginatedList[WorkflowJob]:
363 """

Callers

nothing calls this directly

Calls 1

requestJsonMethod · 0.80

Tested by

no test coverage detected