Query
query GithubActionsWorkflowJobs($source: GitHubRequestSource!, $codebaseRepositoryId: ID!, $workflowRunId: ID!) {
githubActionsWorkflowJobs(source: $source, codebaseRepositoryId: $codebaseRepositoryId, workflowRunId: $workflowRunId) {
id
name
status
url
canRetry
retryUnavailableReason
}
}Variables
{
"source": "GITHUB_API",
"codebaseRepositoryId": "id",
"workflowRunId": "id"
}Response
{
"data": {
"githubActionsWorkflowJobs": [
{
"id": "id",
"name": "string",
"status": "ACTION_REQUIRED",
"url": "string",
"canRetry": true,
"retryUnavailableReason": "GITHUB_APP_NOT_CONFIGURED"
}
]
}
}Queries
githubActionsWorkflowJobs
Returns GitHub workflow jobs.
QUERY
githubActionsWorkflowJobs(source: GitHubRequestSource!, codebaseRepositoryId: ID!, workflowRunId: ID!): [GitHubWorkflowJob!]!Arguments
source
required
The source used to filter or perform the operation.
codebaseRepositoryId
ID!
required
Identifier of the codebase repository.
workflowRunId
ID!
required
Identifier of the workflow run.
Returns
id
ID!
Stable identifier for this GitHub workflow job.
name
String!
Display name of this GitHub workflow job.
status
Current status of this GitHub workflow job.
url
String
URL for this GitHub workflow job. May be null when unavailable or not applicable.
canRetry
Boolean!
Whether this GitHub workflow job can retry.
retryUnavailableReason
The retry unavailable reason associated with this GitHub workflow job. May be null when unavailable or not applicable.
steps
Steps associated with this GitHub workflow job.
runAttempt
Int
The run attempt associated with this GitHub workflow job. May be null when unavailable or not applicable.
Query
query GithubActionsWorkflowJobs($source: GitHubRequestSource!, $codebaseRepositoryId: ID!, $workflowRunId: ID!) {
githubActionsWorkflowJobs(source: $source, codebaseRepositoryId: $codebaseRepositoryId, workflowRunId: $workflowRunId) {
id
name
status
url
canRetry
retryUnavailableReason
}
}Variables
{
"source": "GITHUB_API",
"codebaseRepositoryId": "id",
"workflowRunId": "id"
}Response
{
"data": {
"githubActionsWorkflowJobs": [
{
"id": "id",
"name": "string",
"status": "ACTION_REQUIRED",
"url": "string",
"canRetry": true,
"retryUnavailableReason": "GITHUB_APP_NOT_CONFIGURED"
}
]
}
}