From bbfab25a1713016ee9812dc6af93765eea71295c Mon Sep 17 00:00:00 2001 From: David Arnold <10138997+djaboxx@users.noreply.github.com> Date: Wed, 21 Aug 2024 09:18:54 -0700 Subject: [PATCH] Update variables.tf --- variables.tf | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/variables.tf b/variables.tf index a005bfe..f5c797f 100644 --- a/variables.tf +++ b/variables.tf @@ -108,20 +108,23 @@ variable "admin_teams" { default = [] } -# Required Status Checks -# required_status_checks supports the following arguments: -# strict: (Optional) Require branches to be up to date before merging. Defaults to false. -# contexts: (Optional) The list of status checks to require in order to merge into this branch. -# No status checks are required by default. -# Note: This attribute can contain multiple string patterns. If specified, usual value is the job name. -# Otherwise, the job id is defaulted to. For workflows that use matrixes, append the matrix name to the -# value using the following pattern ([, ]). Matrixes should be specified -# based on the order of matrix properties in the workflow file. See GitHub Documentation for more -# information. For workflows that use reusable workflows, -# the pattern is / . -# This can extend multiple levels. + variable "required_status_checks" { - description = "Required Status Checks" + description = <[, ]). Matrixes should be specified +based on the order of matrix properties in the workflow file. See GitHub Documentation for more +information. For workflows that use reusable workflows, +the pattern is / . +This can extend multiple levels. +EOT type = object({ contexts = list(string) strict = optional(bool, true)