id | integer | The ID of the ruleset |
name | string | The name of the ruleset |
_links | object | |
bypass_actors | array | The actors that can bypass the rules in this ruleset |
conditions | object | Parameters for a repository ruleset ref name condition |
created_at | string | |
current_user_can_bypass | string | The bypass type of the user making the API request for this ruleset. This field is only returned when querying the repository-level endpoint. |
enforcement | string | The enforcement level of the ruleset. evaluate allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (evaluate is only available with GitHub Enterprise). |
node_id | string | |
rules | array | |
source | string | The name of the source |
source_type | string | The type of the source of the ruleset |
target | string | The target of the ruleset |
updated_at | string | |