query WorktreeMergeCandidates {
worktreeMergeCandidates {
worktreeId
repositoryName
agentName
branch
folder
provider
}
}{
"data": {
"worktreeMergeCandidates": [
{
"worktreeId": "id",
"repositoryName": "string",
"agentName": "string",
"branch": "string",
"folder": "string",
"provider": "GITHUB"
}
]
}
}worktreeMergeCandidates
Load linked requests and their merge options for the current page scope.
worktreeMergeCandidates(appId: ID, agentId: ID): [WorktreeMergeCandidate!]!Arguments
Limit candidates to repositories attached to this app.
Limit candidates to checkouts on the focused agent.
Returns
Identifier of the linked checkout.
Display name of the checkout repository.
Display name of the agent that owns the checkout.
The checkout's current source branch.
Local checkout path.
Provider for the linked request.
Opaque provider request key used to prevent duplicate selection.
Provider-scoped pull or merge request number.
Title of the linked request.
Provider URL for the linked request.
The GitHub target repository in owner/name form.
The GitLab target project identifier.
Provider source commit shown by the current merge options.
Provider target branch shown by the current merge options.
Why the candidate cannot be selected, when applicable.
Immediate GitHub merge options, when available.
Immediate GitLab merge options, when available.
query WorktreeMergeCandidates {
worktreeMergeCandidates {
worktreeId
repositoryName
agentName
branch
folder
provider
}
}{
"data": {
"worktreeMergeCandidates": [
{
"worktreeId": "id",
"repositoryName": "string",
"agentName": "string",
"branch": "string",
"folder": "string",
"provider": "GITHUB"
}
]
}
}