Describe the need
The current implementation of bypass_actors in github_repository_ruleset and github_organization_ruleset resources does not support RepositoryMigration as a valid actor_type, causing the following error when applying Terraform configurations that include it:
expected actor_type to be one of ["Integration" "OrganizationAdmin" "RepositoryRole" "Team" "DeployKey"], got RepositoryMigration
This is needed when migrating repositories that already have rulesets configured - the RepositoryMigration actor type allows bypassing ruleset rules during migration, preventing failures when importing repositories with existing branch protection or ruleset configurations.
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 RepositoryMigration
Code of Conduct
Describe the need
The current implementation of
bypass_actorsingithub_repository_rulesetandgithub_organization_rulesetresources does not supportRepositoryMigrationas a validactor_type, causing the following error when applying Terraform configurations that include it:expected actor_type to be one of ["Integration" "OrganizationAdmin" "RepositoryRole" "Team" "DeployKey"], got RepositoryMigration
This is needed when migrating repositories that already have rulesets configured - the
RepositoryMigrationactor type allows bypassing ruleset rules during migration, preventing failures when importing repositories with existing branch protection or ruleset configurations.SDK Version
No response
API Version
No response
Relevant log output
Code of Conduct