Skip to content

Commit 46ced25

Browse files
authored
Merge pull request #28 from quarkiverse/lgtm
2 parents 8c7bb65 + e671583 commit 46ced25

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ locals {
3535
applications = {
3636
# Stale - https://github.com/marketplace/stale
3737
stale = "20894091"
38+
# LGTM - https://github.com/marketplace/lgtm
39+
lgtm = "24341616"
3840
}
3941
}

quarkus-cxf.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,12 @@ resource "github_branch" "quarkus_cxf" {
5858
resource "github_branch_default" "quarkus_cxf" {
5959
repository = github_repository.quarkus_cxf.name
6060
branch = github_branch.quarkus_cxf.branch
61-
}
61+
}
62+
63+
# Enable apps in repository
64+
resource "github_app_installation_repository" "quarkus_cxf" {
65+
for_each = { for app in [local.applications.lgtm] : app => app }
66+
# The installation id of the app (in the organization).
67+
installation_id = each.value
68+
repository = github_repository.quarkus_cxf.name
69+
}

0 commit comments

Comments
 (0)