Skip to content

Commit 19139c6

Browse files
mnasiadkaAlex-Welsh
authored andcommitted
Add ok_to_test label that will be used by Zuul
See stackhpc/stackhpc-zuul-config#71 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
1 parent 51779c3 commit 19139c6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

terraform/github/repositories.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ resource "github_issue_label" "workflows_label" {
8888
description = "Workflow files have been modified"
8989
}
9090

91+
resource "github_issue_label" "ok_to_test_label" {
92+
for_each = toset(flatten(values(var.repositories)))
93+
repository = each.value
94+
name = "ok-to-test"
95+
color = "0075CA"
96+
description = "Zuul: approved to run CI tests"
97+
}
98+
9199
data "github_repository" "repositories" {
92100
for_each = toset(flatten(values(var.repositories)))
93101
full_name = format("%s/%s", var.owner, each.value)

0 commit comments

Comments
 (0)