workflow_jobs
Overview
Name | workflow_jobs |
Type | Resource |
Id | github.actions.workflow_jobs |
Fields
Name | Datatype |
---|---|
jobs | array |
total_count | integer |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_job_for_workflow_run | SELECT | job_id, owner, repo | Gets a specific job in a workflow run. 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. |
list_jobs_for_workflow_run | SELECT | owner, repo, run_id | Lists jobs for a workflow run. 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. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters. |
list_jobs_for_workflow_run_attempt | SELECT | attempt_number, owner, repo, run_id | Lists jobs for a specific workflow run attempt. 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. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters. |
download_job_logs_for_workflow_run | EXEC | job_id, owner, repo | Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for Location: in the response header to find the URL for the download. Anyone with read access to the repository canuse this endpoint. If the repository is private you must use an access token with the repo scope. GitHub Apps musthave the actions:read permission to use this endpoint. |