This repository has been archived on 2026-11-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
terraform-git/modules/github_org/modules/ruleset/variables.tf
T
unkin-agent d6d608b2a1
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
split github_org into team, repository and ruleset submodules
2026-11-10 22:32:17 +11:00

33 lines
773 B
Terraform

variable "repository" {
type = string
}
variable "ruleset" {
type = object({
name = string
target = string
enforcement = string
conditions = object({
ref_name = object({
include = list(string)
exclude = list(string)
})
})
rules = object({
deletion = bool
non_fast_forward = bool
pull_request = object({
required_approving_review_count = number
dismiss_stale_reviews_on_push = bool
require_code_owner_review = bool
require_last_push_approval = bool
required_review_thread_resolution = bool
})
required_status_checks = object({
contexts = list(string)
strict = bool
})
})
})
}