fix: Org/Enterprise UpdateRepositoryRulesetClearBypassActor sends empty array by dblinkhorn · Pull Request #3796 · google/go-github

@dblinkhorn

…ty array

- Initialize BypassActors with empty slice instead of nil
- Ensures JSON payload includes bypass_actors:[] instead of null
- Matches fix from PR google#3727 for repository rulesets
- Adds testBody validation to verify correct JSON payload is sent

gmlewis

approved these changes Oct 30, 2025

alexandear