From 5849151e0a6e393532a74654d23c691c12374969 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Mon, 13 Nov 2023 17:15:59 +0200 Subject: [PATCH] Add admin users to Langchain4j extension --- terraform-scripts/quarkus-langchain4j.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/terraform-scripts/quarkus-langchain4j.tf b/terraform-scripts/quarkus-langchain4j.tf index c671316..413042c 100644 --- a/terraform-scripts/quarkus-langchain4j.tf +++ b/terraform-scripts/quarkus-langchain4j.tf @@ -32,3 +32,11 @@ resource "github_team_membership" "quarkus_langchain4j" { username = each.value role = "maintainer" } + +# Add admin users +resource "github_repository_collaborator" "quarkus_langchain4j" { + for_each = { for tm in ["geoand", "cescoffier"] : tm => tm } + repository = github_repository.quarkus_langchain4j.name + username = each.value + permission = "admin" +}