You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to configure rulesets in my org that's part of an enterprise such that the Enterprise Owner role can bypass them if needed. In the UI this is possible, and when I wrote a terraform resource to represent that ruleset and imported it, the bypass_actors block appears as follows:
that output is from terraform plan trying to remove it - I wanted to see exactly how the values would appear to terraform to then create the matching config.
However this is not possible - the actor_type property doesn't support EnterpriseOwner:
Error: expected actor_type to be one of ["Integration" "OrganizationAdmin" "RepositoryRole" "Team" "DeployKey"], got EnterpriseOwner
Hopefully it's a simple enough fix to allow this extra value.
SDK Version
No response
API Version
No response
Relevant log output
Error: expected actor_type to be one of ["Integration""OrganizationAdmin""RepositoryRole""Team""DeployKey"], got EnterpriseOwner
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
PR #3487 picks this up from where @jackmtpt left off. It adds EnterpriseOwner to the actor_type allowlist for both github_organization_ruleset and github_repository_ruleset, updates docs and tests, and is now rebased on current main (the old website/docs/ path no longer exists).
Activity
github-actions commentedon Feb 20, 2026
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with
Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀nitinjain999 commentedon Jun 11, 2026
PR #3487 picks this up from where @jackmtpt left off. It adds
EnterpriseOwnerto theactor_typeallowlist for bothgithub_organization_rulesetandgithub_repository_ruleset, updates docs and tests, and is now rebased on current main (the oldwebsite/docs/path no longer exists).feat: Add EnterpriseOwner as bypass actor type for rulesets (integrat…