You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -104,7 +104,7 @@ The `rules` block supports the following:
104
104
*`required_code_scanning` - (Optional) (Block List, Max: 1) Define which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. Multiple code scanning tools can be specified. (see [below for nested schema](#rules.required_code_scanning))
105
105
106
106
*`update` - (Optional) (Boolean) Only allow users with bypass permission to update matching refs.
107
-
107
+
108
108
*`update_allows_fetch_and_merge` - (Optional) (Boolean) Branch can pull changes from its upstream repository. This is only applicable to forked repositories. Requires `update` to be set to `true`. Note: behaviour is affected by a known bug on the GitHub side which may cause issues when using this parameter.
109
109
110
110
#### rules.branch_name_pattern ####
@@ -179,7 +179,7 @@ The `rules` block supports the following:
179
179
180
180
*`context` - (Required) (String) The status check context name that must be present on the commit.
181
181
182
-
*`integration_id` - (Optional) (Number) The optional integration ID that this status check must originate from.
182
+
*`integration_id` - (Optional) (Number) The optional integration ID that this status check must originate from. It's a GitHub App ID, which can be obtained by following instructions from the [Get an App API docs](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app).
183
183
184
184
#### rules.tag_name_pattern ####
185
185
@@ -205,7 +205,7 @@ The `rules` block supports the following:
205
205
206
206
#### bypass_actors ####
207
207
208
-
*`actor_id` - (Required) (Number) The ID of the actor that can bypass a ruleset.
208
+
*`actor_id` - (Required) (Number) The ID of the actor that can bypass a ruleset. If `actor_type` is `Integration`, `actor_id` is a GitHub App ID. App ID can be obtained by following instructions from the [Get an App API docs](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app)
209
209
210
210
*`actor_type` (String) The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
0 commit comments