diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 2b1703f68a..39f108a298 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -46320,7 +46320,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 368c3b4ab1..374e4cef69 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -33084,9 +33084,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 2b1703f68a..39f108a298 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -46320,7 +46320,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 368c3b4ab1..374e4cef69 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -33084,9 +33084,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index d4db95bc10..38112b1766 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -362955,7 +362955,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 23c76c1ec9..0f35dd59cb 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -70489,9 +70489,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index d4db95bc10..38112b1766 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -362955,7 +362955,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 23c76c1ec9..0f35dd59cb 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -70489,9 +70489,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 35fd0bddc9..e2312b5bea 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -380475,7 +380475,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 3db6d4b758..2dfd4924bd 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -75830,9 +75830,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 35fd0bddc9..e2312b5bea 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -380475,7 +380475,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 3db6d4b758..2dfd4924bd 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -75830,9 +75830,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 8db0f71b93..20c0d4534d 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -51372,7 +51372,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 2f2f253690..c29a2f3bfc 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -36752,9 +36752,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 8db0f71b93..20c0d4534d 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -51372,7 +51372,7 @@ "/repos/{owner}/{repo}/rules/branches/{branch}": { "get": { "summary": "Get rules for a branch", - "description": "Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a\nbranch with that name will be returned. All rules that apply will be returned, regardless of the level at which they\nare configured.", + "description": "Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply\nto a branch with that name will be returned. All active rules that apply will be returned, regardless of the level\nat which they are configured (e.g. repository or organization). Rules in rulesets with \"evaluate\" or \"disabled\"\nenforcement statuses are not returned.", "tags": [ "repos" ], diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 2f2f253690..c29a2f3bfc 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -36752,9 +36752,10 @@ paths: get: summary: Get rules for a branch description: |- - Returns all rules that apply to the specified branch. The branch does not need to exist; rules that would apply to a - branch with that name will be returned. All rules that apply will be returned, regardless of the level at which they - are configured. + Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply + to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level + at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled" + enforcement statuses are not returned. tags: - repos operationId: repos/get-branch-rules