reject repository references to undefined teams
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user