Skip to content

Commit

Permalink
Update variables.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold authored and GitHub committed Aug 21, 2024
1 parent e6a8606 commit bbfab25
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<matrix_value>[, <matrix_value>]). 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 <initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>.
# This can extend multiple levels.

variable "required_status_checks" {
description = "Required Status Checks"
description = <<EOT
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 (<matrix_value>[, <matrix_value>]). 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 <initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>.
This can extend multiple levels.
EOT
type = object({
contexts = list(string)
strict = optional(bool, true)
Expand Down

0 comments on commit bbfab25

Please sign in to comment.