From 9d454f1bd2fff74040fb04c6b0be8f6ab3f5437c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Petersen?= Date: Sun, 8 Dec 2024 17:02:34 +0100 Subject: [PATCH] Don't try to set new rules for archived repos --- repo_coinflipbot.tf | 19 ++++----- repo_deletespamtelegrambot.tf | 19 ++++----- repo_telegram-probability-bot.tf | 9 +++-- repogroup_festival.tf | 42 ++++++++++---------- repogroup_papyrus.tf | 30 +++++++------- repogroup_retired.tf | 68 +++++++++++++++++--------------- 6 files changed, 99 insertions(+), 88 deletions(-) diff --git a/repo_coinflipbot.tf b/repo_coinflipbot.tf index 45dcc94..9855768 100644 --- a/repo_coinflipbot.tf +++ b/repo_coinflipbot.tf @@ -1,11 +1,12 @@ module "coinflip_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "coinflipbot" - required_status_checks = [] - blocked_branches = [] - protect_default_branch = false - enable_actions = false - is_archived = true - is_public = false - enable_argocd_rules = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "coinflipbot" + required_status_checks = [] + blocked_branches = [] + protect_default_branch = false + enable_actions = false + is_archived = true + is_public = false + include_required_meta_checks = false + enable_argocd_rules = false } diff --git a/repo_deletespamtelegrambot.tf b/repo_deletespamtelegrambot.tf index a0af022..7f4c4c8 100644 --- a/repo_deletespamtelegrambot.tf +++ b/repo_deletespamtelegrambot.tf @@ -1,11 +1,12 @@ module "deletespam_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "deletespamtelegrambot" - default_branch_name = "master" - blocked_branches = [] - enable_actions = false - is_archived = true - protect_default_branch = false - is_public = false - enable_argocd_rules = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "deletespamtelegrambot" + default_branch_name = "master" + blocked_branches = [] + enable_actions = false + is_archived = true + protect_default_branch = false + is_public = false + include_required_meta_checks = false + enable_argocd_rules = false } diff --git a/repo_telegram-probability-bot.tf b/repo_telegram-probability-bot.tf index f5ec7dd..ac90deb 100644 --- a/repo_telegram-probability-bot.tf +++ b/repo_telegram-probability-bot.tf @@ -1,6 +1,7 @@ module "probability_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "probability-bot" - description = "Tracks distribution of random slot machine emoji in Telegram" - is_archived = true + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "probability-bot" + description = "Tracks distribution of random slot machine emoji in Telegram" + is_archived = true + include_required_meta_checks = false } diff --git a/repogroup_festival.tf b/repogroup_festival.tf index ea087a0..ac83ba8 100644 --- a/repogroup_festival.tf +++ b/repogroup_festival.tf @@ -1,25 +1,27 @@ module "festival_api_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "festival-api" - default_branch_name = "master" - blocked_branches = [] - required_status_checks = [] - protect_default_branch = false - enable_actions = false - is_archived = true - is_public = false - enable_argocd_rules = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "festival-api" + default_branch_name = "master" + blocked_branches = [] + required_status_checks = [] + protect_default_branch = false + enable_actions = false + is_archived = true + include_required_meta_checks = false + is_public = false + enable_argocd_rules = false } module "festival_bot_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "festival-bot" - default_branch_name = "master" - blocked_branches = [] - required_status_checks = [] - protect_default_branch = false - enable_actions = false - is_archived = true - is_public = false - enable_argocd_rules = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "festival-bot" + default_branch_name = "master" + blocked_branches = [] + required_status_checks = [] + protect_default_branch = false + enable_actions = false + is_archived = true + include_required_meta_checks = false + is_public = false + enable_argocd_rules = false } diff --git a/repogroup_papyrus.tf b/repogroup_papyrus.tf index 1d7446b..7e34af3 100644 --- a/repogroup_papyrus.tf +++ b/repogroup_papyrus.tf @@ -1,19 +1,21 @@ module "papyrus_api_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "papyrus-api" - default_branch_name = "master" - blocked_branches = [] - required_status_checks = ["lint", "build_docker"] - is_archived = true - enable_argocd_rules = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "papyrus-api" + default_branch_name = "master" + blocked_branches = [] + required_status_checks = ["lint", "build_docker"] + is_archived = true + include_required_meta_checks = false + enable_argocd_rules = false } module "papyrus_bot_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "papyrus-bot" - default_branch_name = "master" - blocked_branches = [] - required_status_checks = ["lint", "build"] - is_archived = true - enable_argocd_rules = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "papyrus-bot" + default_branch_name = "master" + blocked_branches = [] + required_status_checks = ["lint", "build"] + is_archived = true + include_required_meta_checks = false + enable_argocd_rules = false } diff --git a/repogroup_retired.tf b/repogroup_retired.tf index 2f97895..9ef38de 100644 --- a/repogroup_retired.tf +++ b/repogroup_retired.tf @@ -1,48 +1,52 @@ module "nh_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "nhbot" - description = "nh" - required_status_checks = [] - protect_default_branch = false - blocked_branches = [] - enable_actions = false - enable_argocd_rules = false - is_archived = true - is_public = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "nhbot" + description = "nh" + required_status_checks = [] + protect_default_branch = false + blocked_branches = [] + enable_actions = false + enable_argocd_rules = false + include_required_meta_checks = false + is_archived = true + is_public = false } module "bildbot_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "bildbot" - required_status_checks = [] - blocked_branches = [] - protect_default_branch = false - enable_actions = false - is_archived = true - is_public = false - enable_argocd_rules = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "bildbot" + required_status_checks = [] + blocked_branches = [] + protect_default_branch = false + enable_actions = false + include_required_meta_checks = false + is_archived = true + is_public = false + enable_argocd_rules = false } module "kwbot_repo" { - source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" - name = "kwbot" - required_status_checks = [] - protect_default_branch = false - blocked_branches = [] - enable_actions = false - enable_argocd_rules = false - is_archived = true - is_public = false + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" + name = "kwbot" + required_status_checks = [] + protect_default_branch = false + blocked_branches = [] + enable_actions = false + include_required_meta_checks = false + enable_argocd_rules = false + is_archived = true + is_public = false } module "curefreedom_repo" { source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v8.0.1" name = "cure-freedom-bot" - enable_argocd_rules = false - protect_default_branch = false - enable_actions = false - is_archived = true + enable_argocd_rules = false + include_required_meta_checks = false + protect_default_branch = false + enable_actions = false + is_archived = true blocked_branches = [] required_status_checks = []