You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/merge_queue.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,16 @@ Manages a Trunk merge queue.
31
31
-`concurrency` (Number) Number of concurrent test slots.
32
32
-`create_prs_for_testing_branches` (Boolean) Create PRs for testing branches.
33
33
-`direct_merge_mode` (String) Direct merge mode: "off" or "always".
34
+
-`enqueueing_label` (String) The GitHub label whose application enqueues a PR onto the merge queue.
35
+
-`extension_enabled` (Boolean) Whether the Trunk Merge Queue browser extension is enabled (shown) for this repository.
36
+
-`label_commands_enabled` (Boolean) Whether label-based commands (e.g. enqueue/dequeue via labels) are enabled on the merge queue.
34
37
-`merge_method` (String) Merge method: "merge_commit", "squash", or "rebase".
35
38
-`mode` (String) Queue mode: "single" or "parallel".
36
39
-`optimization_mode` (String) Optimization mode: "off" or "bisection_skip_redundant_tests".
37
40
-`pending_failure_depth` (Number) Number of PRs below a failure to wait for before eviction.
38
41
-`required_statuses` (List of String) Override required status checks. Set to null to revert to branch protection or trunk.yaml defaults; set to [] to explicitly require no statuses.
39
42
-`state` (String) Queue state: "running", "paused", or "draining".
43
+
-`state_labels_enabled` (Boolean) Whether the merge queue applies labels to PRs reflecting their merge queue state.
40
44
-`status_check_enabled` (Boolean) Post GitHub status checks.
41
45
-`testing_timeout_minutes` (Number) Maximum minutes to wait for tests.
Description: "Whether the Trunk Merge Queue browser extension is enabled (shown) for this repository.",
259
+
Optional: true,
260
+
Computed: true,
261
+
PlanModifiers: []planmodifier.Bool{
262
+
boolplanmodifier.UseStateForUnknown(),
263
+
},
264
+
},
265
+
"enqueueing_label": schema.StringAttribute{
266
+
Description: "The GitHub label whose application enqueues a PR onto the merge queue.",
267
+
Optional: true,
268
+
Computed: true,
269
+
Validators: []validator.String{
270
+
stringvalidator.LengthAtLeast(1),
271
+
},
272
+
PlanModifiers: []planmodifier.String{
273
+
stringplanmodifier.UseStateForUnknown(),
274
+
},
275
+
},
276
+
"label_commands_enabled": schema.BoolAttribute{
277
+
Description: "Whether label-based commands (e.g. enqueue/dequeue via labels) are enabled on the merge queue.",
278
+
Optional: true,
279
+
Computed: true,
280
+
PlanModifiers: []planmodifier.Bool{
281
+
boolplanmodifier.UseStateForUnknown(),
282
+
},
283
+
},
284
+
"state_labels_enabled": schema.BoolAttribute{
285
+
Description: "Whether the merge queue applies labels to PRs reflecting their merge queue state.",
286
+
Optional: true,
287
+
Computed: true,
288
+
PlanModifiers: []planmodifier.Bool{
289
+
boolplanmodifier.UseStateForUnknown(),
290
+
},
291
+
},
257
292
"required_statuses": schema.ListAttribute{
258
293
Description: "Override required status checks. Set to null to revert to branch protection or trunk.yaml defaults; set to [] to explicitly require no statuses.",
0 commit comments