Skip to content

Commit

Permalink
Rename monorepo flag, #85
Browse files Browse the repository at this point in the history
  • Loading branch information
sprankhub committed Jun 13, 2024
1 parent ea3a4d0 commit 24eac42
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ resource "github_branch_protection" "repositories" {
}

restrict_pushes {
push_allowances = try(each.value.mono_repository, false) ? [data.github_user.mage-os-ci.node_id] : []
push_allowances = try(each.value.is_part_of_monorepo, false) ? [data.github_user.mage-os-ci.node_id] : []
}
}

Expand Down
24 changes: 12 additions & 12 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -328,24 +328,24 @@ variable "repositories" {
}

mageos-async-events-aws = {
description = "This module provides events integrations to AWS."
teams = ["distribution", "async-events"]
topics = ["mage-os", "magento", "ecommerce", "magento2", "adobecommerce", "aws"]
mono_repository = true
description = "This module provides events integrations to AWS."
teams = ["distribution", "async-events"]
topics = ["mage-os", "magento", "ecommerce", "magento2", "adobecommerce", "aws"]
is_part_of_monorepo = true
}

mageos-async-events-azure = {
description = "This module provides events integrations to Azure."
teams = ["distribution", "async-events"]
topics = ["mage-os", "magento", "ecommerce", "magento2", "adobecommerce", "azure"]
mono_repository = true
description = "This module provides events integrations to Azure."
teams = ["distribution", "async-events"]
topics = ["mage-os", "magento", "ecommerce", "magento2", "adobecommerce", "azure"]
is_part_of_monorepo = true
}

mageos-async-events-gcp = {
description = "This module provides events integrations to GCP."
teams = ["distribution", "async-events"]
topics = ["mage-os", "magento", "ecommerce", "magento2", "adobecommerce", "gcp"]
mono_repository = true
description = "This module provides events integrations to GCP."
teams = ["distribution", "async-events"]
topics = ["mage-os", "magento", "ecommerce", "magento2", "adobecommerce", "gcp"]
is_part_of_monorepo = true
}

mageos-async-events-admin-ui = {
Expand Down

0 comments on commit 24eac42

Please sign in to comment.