workflow_id
with the workflow file name. For example, you could use main.yaml
. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo
scope. GitHub Apps must have the actions:read
permission to use this endpoint.
Parameter | Description |
---|---|
Owner | The account owner of the repository. The name is not case sensitive. |
Repo | The name of the repository. The name is not case sensitive. |
Workflow ID | The ID of the workflow. You can also pass the workflow file name as a string. Can be obtained via the List Repository Workflows action. |
{
"id": 83958502,
"node_id": "<string>",
"name": "<string>",
"path": "<string>",
"state": "<string>",
"created_at": "2021-10-28T16:05:50Z",
"updated_at": "2021-10-28T16:05:50Z",
"url": "<string>",
"html_url": "<string>",
"badge_url": "<string>"
}
Was this page helpful?