From 60a414c1855d4a10012a13b6b790ba04f0ad9346 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 16 Jan 2023 16:22:08 +0100 Subject: [PATCH] Update contents to current live Signed-off-by: Patrick Uiterwijk --- github_branchprotections_enarx.tf | 38 +++------------------------- github_repositories_enarx.tf | 41 ------------------------------- 2 files changed, 4 insertions(+), 75 deletions(-) diff --git a/github_branchprotections_enarx.tf b/github_branchprotections_enarx.tf index 7eba8b7..4f4fe41 100644 --- a/github_branchprotections_enarx.tf +++ b/github_branchprotections_enarx.tf @@ -780,15 +780,14 @@ resource "github_branch_protection" "enarx-mmledger-_wild_" { contexts = [ "cargo clippy", "cargo fmt", - "cargo readme", "stable (debug)", "stable (release)", "beta (debug)", "beta (release)", "nightly (release)", "nightly (debug)", - "1.57.0 (debug)", - "1.57.0 (release)", + "1.60.0 (debug)", + "1.60.0 (release)", ] } @@ -831,11 +830,11 @@ resource "github_branch_protection" "enarx-testaso-main" { } } -resource "github_branch_protection" "enarx-cryptle-_wild_" { +resource "github_branch_protection" "enarx-cryptle-main" { provider = github.enarx repository_id = github_repository.enarx-cryptle.node_id - pattern = "*" + pattern = "main enforce_admins = false require_signed_commits = false @@ -975,35 +974,6 @@ resource "github_branch_protection" "enarx-vfs-main" { } } -resource "github_branch_protection" "enarx-vfs-_wild_" { - provider = github.enarx - repository_id = github_repository.enarx-vfs.node_id - - pattern = "*" - - enforce_admins = false - require_signed_commits = false - required_linear_history = true - require_conversation_resolution = true - allows_deletions = false - allows_force_pushes = false - blocks_creations = false - - required_status_checks { - strict = false - contexts = [] - } - - required_pull_request_reviews { - dismiss_stale_reviews = true - restrict_dismissals = false - dismissal_restrictions = [] - pull_request_bypassers = [] - require_code_owner_reviews = false - required_approving_review_count = 1 - } -} - resource "github_branch_protection" "enarx-vfs-nix-update" { provider = github.enarx repository_id = github_repository.enarx-vfs.node_id diff --git a/github_repositories_enarx.tf b/github_repositories_enarx.tf index d9517f1..f22a780 100644 --- a/github_repositories_enarx.tf +++ b/github_repositories_enarx.tf @@ -122,47 +122,6 @@ resource "github_repository" "enarx-codex" { ignore_vulnerability_alerts_during_read = local.github_policy.ignore_vulnerability_alerts_during_read } -resource "github_repository" "enarx-create-pull-request" { - provider = github.enarx - - lifecycle { - prevent_destroy = true - } - archive_on_destroy = local.github_policy.archive_on_destroy - - name = "create-pull-request" - description = "A GitHub action to create a pull request for changes to your repository in the actions workspace" - homepage_url = "" - - visibility = local.github_policy.visibility - has_issues = false - has_projects = local.github_policy.has_projects - has_wiki = local.github_policy.has_wiki - has_downloads = local.github_policy.has_downloads - - allow_merge_commit = local.github_policy.allow_merge_commit - allow_squash_merge = local.github_policy.allow_squash_merge - allow_rebase_merge = local.github_policy.allow_rebase_merge - allow_auto_merge = local.github_policy.allow_auto_merge - - squash_merge_commit_title = local.github_policy.squash_merge_commit_title - squash_merge_commit_message = local.github_policy.squash_merge_commit_message - merge_commit_title = local.github_policy.merge_commit_title - merge_commit_message = local.github_policy.merge_commit_message - - delete_branch_on_merge = local.github_policy.delete_branch_on_merge - allow_update_branch = local.github_policy.allow_update_branch - - auto_init = local.github_policy.creation.auto_init - gitignore_template = local.github_policy.creation.gitignore_template - license_template = local.github_policy.creation.license_template - - topics = local.github_policy.topics - - vulnerability_alerts = local.github_policy.vulnerability_alerts - ignore_vulnerability_alerts_during_read = local.github_policy.ignore_vulnerability_alerts_during_read -} - resource "github_repository" "enarx-crt0stack" { provider = github.enarx