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 e768418 commit e6a8606
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,25 @@ 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"
type = list(any)
default = []
type = object({
contexts = list(string)
strict = optional(bool, true)
})
default = null
}

variable "archived" {
Expand Down

0 comments on commit e6a8606

Please sign in to comment.