Mutation
mutation UpdateGitHubCacheTtl($ttlMinutes: Int!) {
updateGitHubCacheTtl(ttlMinutes: $ttlMinutes) {
defaultMergeMethod
emptyMergeCommitDescription
defaultMoveTicketToDone
defaultDeleteWorktree
tokenConfigured
defaultJiraKeyRegex
}
}Variables
{
"ttlMinutes": 1
}Response
{
"data": {
"updateGitHubCacheTtl": {
"defaultMergeMethod": "MERGE",
"emptyMergeCommitDescription": true,
"defaultMoveTicketToDone": true,
"defaultDeleteWorktree": true,
"tokenConfigured": true,
"defaultJiraKeyRegex": "string"
}
}
}Mutations
updateGitHubCacheTtl
Updates a GitHub cache TTL and returns the updated GitHub settings.
MUTATION
updateGitHubCacheTtl(ttlMinutes: Int!): GitHubSettings!Arguments
ttlMinutes
Int!
required
The TTL minutes used to filter or perform the operation.
Returns
defaultMergeMethod
Preferred merge method.
emptyMergeCommitDescription
Boolean!
Start new merge commit descriptions empty.
defaultMoveTicketToDone
Boolean!
Select Jira completion for new merges.
defaultDeleteWorktree
Boolean!
Select eligible worktree deletion for new merges.
tokenConfigured
Boolean!
Whether the token configured condition is true for this GitHub settings.
defaultJiraKeyRegex
String!
The default Jira key regex associated with this GitHub settings.
actionsNotificationPollIntervalSeconds
Int!
Actions notification poll interval, in seconds.
cacheTtlSeconds
Int!
Cache TTL, in seconds.
updatedAt
String!
ISO 8601 timestamp when this GitHub settings was last updated.
Mutation
mutation UpdateGitHubCacheTtl($ttlMinutes: Int!) {
updateGitHubCacheTtl(ttlMinutes: $ttlMinutes) {
defaultMergeMethod
emptyMergeCommitDescription
defaultMoveTicketToDone
defaultDeleteWorktree
tokenConfigured
defaultJiraKeyRegex
}
}Variables
{
"ttlMinutes": 1
}Response
{
"data": {
"updateGitHubCacheTtl": {
"defaultMergeMethod": "MERGE",
"emptyMergeCommitDescription": true,
"defaultMoveTicketToDone": true,
"defaultDeleteWorktree": true,
"tokenConfigured": true,
"defaultJiraKeyRegex": "string"
}
}
}