Skip to content
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions modules/ruleset/repository_ruleset.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ resource "github_repository_ruleset" "ruleset" {
for_each = var.bypass_actors.organization_admin != null ? [1] : []

content {
# Docs suggest the ID can be fixed to 1 - https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_ruleset#OrganizationAdmin-1
actor_id = 1
# Although provider docs suggest the ID can be fixed to 1, it has been recently changed to 0 - https://github.com/integrations/terraform-provider-github/issues/2536
actor_id = 0
Comment thread
vedantthapa marked this conversation as resolved.
actor_type = "OrganizationAdmin"
bypass_mode = coalesce(var.bypass_actors.organization_admin.always_bypass, false) ? "always" : "pull_request"
}
Expand Down
Loading