repo
scope. GitHub Apps must have the actions:read
permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.curl --location --request GET 'https://api.github.com/repos///actions/runs//jobs'
{
"jobs": [
{
"check_run_url": "https://api.github.com/repos/github/hello-world/check-runs/4",
"completed_at": "2019-08-08T08:00:00-07:00",
"conclusion": "success",
"head_sha": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
"html_url": "https://github.com/github/hello-world/runs/4",
"id": 21,
"name": "test-coverage",
"node_id": "MDg6Q2hlY2tSdW40",
"run_id": 5,
"run_url": "https://api.github.com/repos/github/hello-world/actions/runs/5",
"started_at": "2019-08-08T08:00:00-07:00",
"status": "queued",
"steps": [
{
"completed_at": "2019-08-08T08:00:00-07:00",
"conclusion": "success",
"name": "test-coverage",
"number": 1,
"started_at": "2019-08-08T08:00:00-07:00",
"status": "queued"
}
],
"url": "https://api.github.com/repos/github/hello-world/actions/jobs/21"
}
],
"total_count": 0
}
Authorization: Bearer ********************
completed_at
timestamp. Can be one of:latest
: Returns jobs from the most recent execution of the workflow run.all
: Returns all jobs for a workflow run, including from old executions of the workflow run.【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通