fix: Org/Enterprise UpdateRepositoryRulesetClearBypassActor sends empty array by dblinkhorn · Pull Request #3796 · google/go-github
…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
approved these changes Oct 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters