feat(rulesets): let org and repo admins bypass requirements - #13
Conversation
Add bypassActors for OrganizationAdmin and repository admin on the default ruleset, and default classic branch protection to not enforce on admins so emergency merges are possible on every managed repo.
|
Warning Review limit reached
Next review available in: 30 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🍹
|
|
🍹 The Update (preview) for diazdesandi/thaw-config/dev (at 4f5c549) was successful. Resource Changes Name Type Operation
~ org-ci-rs-repo-main-default github:index/repositoryRuleset:RepositoryRuleset update
~ menubarspawner-rs-repo-main-default github:index/repositoryRuleset:RepositoryRuleset update
~ dot-github-rs-repo-main-default github:index/repositoryRuleset:RepositoryRuleset update
~ homebrew-tap-rs-repo-main-default github:index/repositoryRuleset:RepositoryRuleset update
~ website-rs-repo-main-default github:index/repositoryRuleset:RepositoryRuleset update
~ raycast-extension-rs-repo-main-default github:index/repositoryRuleset:RepositoryRuleset update
Detailed DiffView diffpulumi:pulumi:Stack: (same)
[urn=urn:pulumi:dev::thaw-config::pulumi:pulumi:Stack::thaw-config-dev]
~ github:index/repositoryRuleset:RepositoryRuleset: (update)
[urn=urn:pulumi:dev::thaw-config::custom:github:OrgRepository$custom:github:OrgRepositoryRulesets$github:index/repositoryRuleset:RepositoryRuleset::website-rs-repo-main-default]
[provider=urn:pulumi:dev::thaw-config::pulumi:providers:github::default_6_14_0::225ee7f4-aef2-42ea-8c38-890178d35051]
+ bypassActors: [
+ [0]: {
+ actorId : 1
+ actorType : "OrganizationAdmin"
+ bypassMode: "always"
}
+ [1]: {
+ actorId : 5
+ actorType : "RepositoryRole"
+ bypassMode: "always"
}
]
~ github:index/repositoryRuleset:RepositoryRuleset: (update)
[urn=urn:pulumi:dev::thaw-config::custom:github:OrgRepository$custom:github:OrgRepositoryRulesets$github:index/repositoryRuleset:RepositoryRuleset::homebrew-tap-rs-repo-main-default]
[provider=urn:pulumi:dev::thaw-config::pulumi:providers:github::default_6_14_0::225ee7f4-aef2-42ea-8c38-890178d35051]
+ bypassActors: [
+ [0]: {
+ actorId : 1
+ actorType : "OrganizationAdmin"
+ bypassMode: "always"
}
+ [1]: {
+ actorId : 5
+ actorType : "RepositoryRole"
+ bypassMode: "always"
}
]
~ github:index/repositoryRuleset:RepositoryRuleset: (update)
[urn=urn:pulumi:dev::thaw-config::custom:github:OrgRepository$custom:github:OrgRepositoryRulesets$github:index/repositoryRuleset:RepositoryRuleset::dot-github-rs-repo-main-default]
[provider=urn:pulumi:dev::thaw-config::pulumi:providers:github::default_6_14_0::225ee7f4-aef2-42ea-8c38-890178d35051]
+ bypassActors: [
+ [0]: {
+ actorId : 1
+ actorType : "OrganizationAdmin"
+ bypassMode: "always"
}
+ [1]: {
+ actorId : 5
+ actorType : "RepositoryRole"
+ bypassMode: "always"
}
]
~ github:index/repositoryRuleset:RepositoryRuleset: (update)
[urn=urn:pulumi:dev::thaw-config::custom:github:OrgRepository$custom:github:OrgRepositoryRulesets$github:index/repositoryRuleset:RepositoryRuleset::org-ci-rs-repo-main-default]
[provider=urn:pulumi:dev::thaw-config::pulumi:providers:github::default_6_14_0::225ee7f4-aef2-42ea-8c38-890178d35051]
+ bypassActors: [
+ [0]: {
+ actorId : 1
+ actorType : "OrganizationAdmin"
+ bypassMode: "always"
}
+ [1]: {
+ actorId : 5
+ actorType : "RepositoryRole"
+ bypassMode: "always"
}
]
~ github:index/repositoryRuleset:RepositoryRuleset: (update)
[urn=urn:pulumi:dev::thaw-config::custom:github:OrgRepository$custom:github:OrgRepositoryRulesets$github:index/repositoryRuleset:RepositoryRuleset::menubarspawner-rs-repo-main-default]
[provider=urn:pulumi:dev::thaw-config::pulumi:providers:github::default_6_14_0::225ee7f4-aef2-42ea-8c38-890178d35051]
+ bypassActors: [
+ [0]: {
+ actorId : 1
+ actorType : "OrganizationAdmin"
+ bypassMode: "always"
}
+ [1]: {
+ actorId : 5
+ actorType : "RepositoryRole"
+ bypassMode: "always"
}
]
~ github:index/repositoryRuleset:RepositoryRuleset: (update)
[urn=urn:pulumi:dev::thaw-config::custom:github:OrgRepository$custom:github:OrgRepositoryRulesets$github:index/repositoryRuleset:RepositoryRuleset::raycast-extension-rs-repo-main-default]
[provider=urn:pulumi:dev::thaw-config::pulumi:providers:github::default_6_14_0::225ee7f4-aef2-42ea-8c38-890178d35051]
+ bypassActors: [
+ [0]: {
+ actorId : 1
+ actorType : "OrganizationAdmin"
+ bypassMode: "always"
}
+ [1]: {
+ actorId : 5
+ actorType : "RepositoryRole"
+ bypassMode: "always"
}
] |



Summary
actorId: 5) to bypass withbypassMode: alwaysbranchProtection.enforceAdminsdefault flips tofalse(explicittruestill supported)bypassActorson every rulesetTest plan
bun testpulumi preview— rulesets gainbypassActors; no unexpected destroys