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
According to the Github Docs (see "Properties of bypass_actors -> actor_id"), the "actor_type": "OrganizationAdmin" used in the PRs and commits.json#L44 file is not applicable for personal repositories.
FWIW I was able to import the rule after deleting the bypass_actors property from the PRs and commits.json file.
Manually adding the bypass actors and exporting the ruleset revealed the following bypass_actors block where the actor IDs 2, 4, 5 correspond to maintain, write, and admin respectively as discussed here.
Describe the bug
Importing the
branch-rulesets/PRs and commits.jsonrulesets throws an error.To Reproduce
branch-rulesets/PRs and commits.jsonas shown in the video example from this repo.Expected behavior
The ruleset gets imported as shown in the video without throwing any errors.
Actual behavior
The following error is thrown:
Screenshots/Video
Screen.Recording.2025-12-25.at.2.13.42.PM.mov
Environment
Additional Context
Possible source of the error:
bypass_actors->actor_id"), the"actor_type": "OrganizationAdmin"used in thePRs and commits.json#L44file is not applicable for personal repositories.bypass_actorsproperty from thePRs and commits.jsonfile.bypass_actorsblock where the actor IDs 2, 4, 5 correspond tomaintain,write, andadminrespectively as discussed here.