Block + ref components on public GitHub repos
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful

This commit is contained in:
2026-11-10 23:04:55 +11:00
parent 254747e5ac
commit 4fa1112ef1
6 changed files with 52 additions and 9 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ variable "ruleset" {
default = {}
validation {
condition = length(setintersection(keys(var.ruleset), ["branch-protection", "required-checks", "tag-protection"])) == 0
error_message = "Ruleset names branch-protection, required-checks and tag-protection are reserved for generated rulesets."
condition = length(setintersection(keys(var.ruleset), ["branch-protection", "required-checks", "tag-protection", "ref-names-branch", "ref-names-tag"])) == 0
error_message = "Ruleset names branch-protection, required-checks, tag-protection, ref-names-branch and ref-names-tag are reserved for generated rulesets."
}
validation {