feat: require Twilio OpenTofu checks - #57
Merged
Merged
Conversation
Contributor
OpenTofu TestOpenTofu test passed. View run output |
Contributor
OpenTofu PlanOpenTofu plan passed. View run outputOpenTofu will perform the following actions:
# github_branch_protection.protections["tfroot-twilio"] will be updated in-place
# (moved from github_branch_protection.relaxed_protections["tfroot-twilio"])
~ resource "github_branch_protection" "protections" {
id = "BPR_kwDOUNmWbs4E7fVz"
~ require_conversation_resolution = false -> true
# (9 unchanged attributes hidden)
+ required_status_checks {
+ contexts = [
+ "opentofu / plan",
+ "opentofu / test",
]
+ strict = true
}
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
OpenTofu will perform the following actions:
# github_branch_protection.protections["tfroot-twilio"] will be updated in-place
# (moved from github_branch_protection.relaxed_protections["tfroot-twilio"])
~ resource "github_branch_protection" "protections" {
id = "BPR_kwDOUNmWbs4E7fVz"
~ require_conversation_resolution = false -> true
# (9 unchanged attributes hidden)
+ required_status_checks {
+ contexts = [
+ "opentofu / plan",
+ "opentofu / test",
]
+ strict = true
}
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Graduate
tfroot-twiliofrom its initial relaxed branch-protection profile now that its OpenTofu workflow and centrally managed Dependabot files are installed and reconciled.Require the established
opentofu / testandopentofu / planchecks formain. Amovedblock preserves the existing protected-branch state while changing profiles, avoiding a delete/recreate transition.Fixes # N/A — complete the Twilio-root bootstrap governance gate.
Type of change
Validation
0 to add, 1 to change, 0 to destroy.The required check names are verified against
tfroot-twilio's caller workflow and its completed validation run. No local OpenTofu, SOPS, state, import, plan, or apply operations were run.Impact and rollout
Producer:
tfroot-githubowns branch protection. Consumer:tfroot-twiliowill require successfulopentofu / testandopentofu / planbefore future pull requests merge.This PR neither changes the Twilio root's workflow nor configures provider credentials, backend state, phone numbers, webhooks, bridge deployment, routes, or runtime secrets. Its plan uses the moved address to update the existing protection in place, adding the two required checks and conversation resolution without a protection gap. After confirmed merge, verify the environment-gated apply succeeds and that the required contexts match the caller's emitted check names.
Rollback is a reviewed revert restoring the relaxed profile. The
movedblock prevents a protection gap during this transition.Safety and secrets
Repository-side secret scanning is unavailable because GitHub Advanced Security is not enabled; the branch diff was manually inspected before publication.
AI agent materially produced this change; reviewers should confirm no secret-map, repository-topic, or unrelated protection change is present; the moved protection address; and the exact required check names.