We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 303bff9 commit b484360Copy full SHA for b484360
1 file changed
.github/tests/src/script.rb
@@ -56,7 +56,7 @@ def file_branch(file_name, branch_name)
56
end
57
58
def rules_required_pull_request_reviews(branch_name)
59
- response = get("branches/#{branch_name}/protection")
+ response = get("rules/branches/#{branch_name}")
60
puts "########"
61
puts response.body
62
return nil if response.code != '200'
0 commit comments