Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update contents to current live #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 4 additions & 34 deletions github_branchprotections_enarx.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
]
}

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
41 changes: 0 additions & 41 deletions github_repositories_enarx.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down