From 37a841b851938637a955859539c81243ce0bba46 Mon Sep 17 00:00:00 2001 From: Chai Bot Date: Thu, 1 Oct 2026 19:20:38 +0000 Subject: [PATCH 1/2] Add copr-production environment to osac repo Create a GitHub Actions deployment environment for Copr webhook builds, with wg-infra as required reviewers to gate access to the COPR_WEBHOOK_URL secret. Assisted-by: Claude Signed-off-by: Chai Bot --- repositories.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/repositories.tf b/repositories.tf index 76307d9..d393dac 100644 --- a/repositories.tf +++ b/repositories.tf @@ -199,6 +199,13 @@ module "repo_osac" { github_team.all["infrastructure"].id, ] + environments = [{ + name = "copr-production" + reviewers = { + teams = ["wg-infra"] + } + }] + merge_queue = { merge_method = "SQUASH" max_entries_to_build = 4 From a6537b58fd29fc2a00f744ce0d55cf359d194c41 Mon Sep 17 00:00:00 2001 From: Chai Bot Date: Thu, 1 Oct 2026 19:40:07 +0000 Subject: [PATCH 2/2] Fix reviewer team reference to use ID instead of slug Assisted-by: Claude Signed-off-by: Chai Bot --- repositories.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repositories.tf b/repositories.tf index d393dac..93daca6 100644 --- a/repositories.tf +++ b/repositories.tf @@ -202,7 +202,7 @@ module "repo_osac" { environments = [{ name = "copr-production" reviewers = { - teams = ["wg-infra"] + teams = [github_team.all["wg-infra"].id] } }]