Skip to content

Commit ada51cb

Browse files
committed
accept not working with update protections
1 parent 20e1509 commit ada51cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/github_api/client/repos/branches/protections.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ module Github
55
class Client::Repos::Branches::Protections < API
66
VALID_PROTECTION_PARAM_NAMES = %w[
77
required_status_checks
8+
required_pull_request_reviews
89
enforce_admins
910
restrictions
11+
accept
1012
].freeze
1113

1214
# Get a single branch protection

0 commit comments

Comments
 (0)