RepositoryRulesetRulesMergeQueue

data class RepositoryRulesetRulesMergeQueue(val checkResponseTimeoutMinutes: Int? = null, val groupingStrategy: String? = null, val maxEntriesToBuild: Int? = null, val maxEntriesToMerge: Int? = null, val mergeMethod: String? = null, val minEntriesToMerge: Int? = null, val minEntriesToMergeWaitMinutes: Int? = null)

Constructors

Link copied to clipboard
constructor(checkResponseTimeoutMinutes: Int? = null, groupingStrategy: String? = null, maxEntriesToBuild: Int? = null, maxEntriesToMerge: Int? = null, mergeMethod: String? = null, minEntriesToMerge: Int? = null, minEntriesToMergeWaitMinutes: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed. Defaults to 60.

Link copied to clipboard

When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. Can be one of: ALLGREEN, HEADGREEN. Defaults to ALLGREEN.

Link copied to clipboard
val maxEntriesToBuild: Int? = null

Limit the number of queued pull requests requesting checks and workflow runs at the same time. Defaults to 5.

Link copied to clipboard
val maxEntriesToMerge: Int? = null

The maximum number of PRs that will be merged together in a group. Defaults to 5.

Link copied to clipboard
val mergeMethod: String? = null

Method to use when merging changes from queued pull requests. Can be one of: MERGE, SQUASH, REBASE. Defaults to MERGE.

Link copied to clipboard
val minEntriesToMerge: Int? = null

The minimum number of PRs that will be merged together in a group. Defaults to 1.

Link copied to clipboard

The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. Defaults to 5.