Skip to content

Commit

Permalink
:octocat: Create GitHub Team (#3149)
Browse files Browse the repository at this point in the history
* 👥 Add PowerBI Authors team
* 🔧 Configure Archived repos picked up by ops eng
  • Loading branch information
Gary-H9 authored Feb 1, 2024
1 parent af7cab8 commit 2b621ea
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
26 changes: 16 additions & 10 deletions terraform/github/analytical-platform-repositories.tf
Original file line number Diff line number Diff line change
Expand Up @@ -378,22 +378,28 @@ locals {
}
},
"ap-terraform-github-id-provider-config" = {
name = "ap-terraform-github-id-provider-config"
description = "Analytical Platform Terraform Github ID Provider Config"
topics = ["ministryofjustice", "analytical-platform"]
use_template = true
template_repository = "ap-terraform-module-template"
name = "ap-terraform-github-id-provider-config"
description = "Analytical Platform Terraform Github ID Provider Config"
topics = ["ministryofjustice", "analytical-platform"]
use_template = true
archived = true
vulnerability_alerts = false
secret_scanning_push_protection = "disabled"
template_repository = "ap-terraform-module-template"
access = {
admins = [module.data_platform_teams["data-platform-apps-and-tools"].id]
pushers = [module.data_platform_team.id]
}
},
"ap-terraform-aws-oidc-provider" = {
name = "ap-terraform-aws-oidc-provider"
description = "Analytical Platform Terraform AWS OIDC Provider"
topics = ["ministryofjustice", "analytical-platform"]
use_template = true
template_repository = "ap-terraform-module-template"
name = "ap-terraform-aws-oidc-provider"
description = "Analytical Platform Terraform AWS OIDC Provider"
topics = ["ministryofjustice", "analytical-platform"]
use_template = true
archived = true
vulnerability_alerts = false
secret_scanning_push_protection = "disabled"
template_repository = "ap-terraform-module-template"
access = {
admins = [module.data_platform_teams["data-platform-apps-and-tools"].id]
pushers = [module.data_platform_team.id]
Expand Down
10 changes: 10 additions & 0 deletions terraform/github/data-platform-teams.tf
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,16 @@ locals {
members = flatten([
local.data_platform_teams["data-platform-apps-and-tools"].members
])
},
"data-platform-apps-and-tools-powerbi-authors" = {
name = "data-platform-apps-and-tools-powerbi-authors"
description = "Data Platform Apps and Tools PowerBI Authors"
parent_team_id = module.data_platform_teams["data-platform-apps-and-tools"].id
members = flatten([
local.data_platform_teams["data-platform-apps-and-tools"].members,
"andrewc-moj", # Andrew Craik
"gwionap" # Gwion ApRhobat
])
}
}
}
Expand Down

0 comments on commit 2b621ea

Please sign in to comment.