Skip to content
Merged
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
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ locals {
"tfroot-twilio" = ["opentofu", "s3-backend", "sms", "sops", "tfstate", "twilio"]
"www" = ["cloudflare", "css", "html", "pwa", "s3", "static-site"]
}
# tfroot-twilio starts with the narrow relaxed profile so its initial PR can
# install the OpenTofu workflow before normal required checks are enforced.
# Public repositories remain on the relaxed profile only until their initial
# pull request has installed the required workflow and centrally managed files.
relaxed_branch_protection_github_repositories = toset([
"agent-knowledge",
"tfroot-twilio"
"agent-knowledge"
])
# Repositories where automation-created pull requests merge themselves once
# required checks pass. GitHub auto-merge is enabled only for these
Expand Down Expand Up @@ -85,6 +84,7 @@ locals {
"tfroot-github" = ["opentofu / test", "opentofu / plan"]
"tfroot-libvirt" = ["opentofu / test", "opentofu / plan"]
"tfroot-namecheap" = ["opentofu / test", "opentofu / plan"]
"tfroot-twilio" = ["opentofu / test", "opentofu / plan"]
"www" = ["static-checks"]
}
secrets = {
Expand Down
6 changes: 6 additions & 0 deletions moves.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Graduate tfroot-twilio from the temporary relaxed profile without deleting
# and recreating its protected main branch.
moved {
from = github_branch_protection.relaxed_protections["tfroot-twilio"]
to = github_branch_protection.protections["tfroot-twilio"]
}
Loading