reject repository references to undefined teams
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful

This commit is contained in:
2026-11-10 22:41:00 +11:00
parent d6d608b2a1
commit e62c3246ea
3 changed files with 17 additions and 4 deletions
@@ -231,6 +231,18 @@ run "unknown_ruleset_rejected" {
expect_failures = [var.repository]
}
run "unknown_team_rejected" {
command = plan
variables {
repository = {
public = { name = "public", codeowners = ["@missing"] }
}
}
expect_failures = [var.repository]
}
run "non_main_default_branch_renamed" {
command = plan