diff --git a/clients/GitHub/etc/openapi-client-generator.state b/clients/GitHub/etc/openapi-client-generator.state index 8acae2993df..43ad1f25fed 100644 --- a/clients/GitHub/etc/openapi-client-generator.state +++ b/clients/GitHub/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "5bd2a30080267627618f4b33aa9b7f31", + "specHash": "6f03f69310915cd2cc2ba810a95cb8af", "generatedFiles": { "files": [ { @@ -524,7 +524,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php", - "hash": "67c3a415716e58a90f8abf469062dac5" + "hash": "83705a685ea73d3e8f172764ffba2711" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditions.php", @@ -604,7 +604,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php", - "hash": "dddbb5dc9bd8dd7a3ad803bca2cb1e57" + "hash": "ef85fa7d7b57ba43af2d6916a489f8cd" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php", @@ -4632,11 +4632,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "ddbe5fa72cd95d4841f04e8ad07cf032" + "hash": "c117f6b84510b5e9fd9d5f29267dae82" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "852a59058aac8512a94f09949e38aa5c" + "hash": "7bfb2cacb4dae42b93420462d8bdc058" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php", @@ -5340,11 +5340,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "9ab74eb536b72b5cf0961e608f39bd8f" + "hash": "891b5699ff5a4b35bd57a441caae67b6" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "580d82fd735271cdcc29aedbb7cae3a3" + "hash": "a88d5b165813a5427998198496d665d5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php", @@ -11784,7 +11784,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php", - "hash": "df289711440a14ba7ae749579efb50f6" + "hash": "245da86a74734162346845fbbd30ad8e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php", @@ -11868,15 +11868,15 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php", - "hash": "6fc25f4d0f2991a671cce4be6dce943c" + "hash": "2d226da6f373b431bd269ff18fd6a348" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php", - "hash": "8d6de523450a40a6ff046116c45d40d6" + "hash": "740f76428a80cf6f1c1b3f7d7146d3ac" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php", - "hash": "56c588418e218244afc3fd025d5301c3" + "hash": "9eab4199d5118c57751ddd83944e54ab" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookDeploymentReviewApproved\/WorkflowRun\/Actor.php", diff --git a/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php index ab397e39a72..b5ff867b934 100644 --- a/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php @@ -54,17 +54,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -72,7 +73,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -981,12 +982,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php index c39ca7b329b..a64148d7c3d 100644 --- a/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php @@ -53,17 +53,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -71,7 +72,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -778,12 +779,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php index f18e00d76bf..499ab701385 100644 --- a/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php @@ -50,17 +50,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -68,7 +69,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -977,12 +978,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php b/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php index 603ed90713d..a70238d977a 100644 --- a/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHub/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php @@ -49,17 +49,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -67,7 +68,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -774,12 +775,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/clients/GitHub/src/Schema/RepositoryRuleset.php b/clients/GitHub/src/Schema/RepositoryRuleset.php index 0752757a6b1..1a40e73a383 100644 --- a/clients/GitHub/src/Schema/RepositoryRuleset.php +++ b/clients/GitHub/src/Schema/RepositoryRuleset.php @@ -73,17 +73,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -91,7 +92,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -1080,12 +1081,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php b/clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php index 4d02ee863d1..96178493151 100644 --- a/clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php +++ b/clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php @@ -21,17 +21,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -39,7 +40,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -48,14 +49,14 @@ public const SCHEMA_DESCRIPTION = 'An actor that can bypass rules in a ruleset'; public const SCHEMA_EXAMPLE_DATA = '{ "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }'; /** - * actorId: The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. - * actorType: The type of actor that can bypass a ruleset - * bypassMode: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. + * actorId: The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. + * actorType: The type of actor that can bypass a ruleset. + * bypassMode: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. */ public function __construct(#[MapFrom('actor_id')] public int|null $actorId, #[MapFrom('actor_type')] diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php index 01e626223ae..ee2ac414816 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetCreated.php @@ -1775,17 +1775,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -1793,7 +1794,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -3255,12 +3256,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php index 096284914f9..49fa0fdaadd 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetDeleted.php @@ -1775,17 +1775,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -1793,7 +1794,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -3255,12 +3256,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php index e5235107644..eaeb090dda7 100644 --- a/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php +++ b/clients/GitHub/src/Schema/WebhookRepositoryRulesetEdited.php @@ -1775,17 +1775,18 @@ "integer", "null" ], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." + "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.\\n" }, "actor_type": { "enum": [ "Integration", "OrganizationAdmin", "RepositoryRole", - "Team" + "Team", + "DeployKey" ], "type": "string", - "description": "The type of actor that can bypass a ruleset" + "description": "The type of actor that can bypass a ruleset.\\n" }, "bypass_mode": { "enum": [ @@ -1793,7 +1794,7 @@ "pull_request" ], "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests." + "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type.\\n" } }, "description": "An actor that can bypass rules in a ruleset" @@ -5441,12 +5442,12 @@ "bypass_actors": [ { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" }, { "actor_id": 8, - "actor_type": "Team", + "actor_type": "DeployKey", "bypass_mode": "always" } ], diff --git a/etc/specs/GitHub/current.spec.yaml b/etc/specs/GitHub/current.spec.yaml index c65780f847d..34704a884a0 100644 --- a/etc/specs/GitHub/current.spec.yaml +++ b/etc/specs/GitHub/current.spec.yaml @@ -33037,8 +33037,6 @@ paths: - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. - - **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. - - **`application/vnd.github.patch`**: For more information, see "[git-format-patch](https://git-scm.com/docs/git-format-patch)" in the Git documentation. tags: - pulls operationId: pulls/list @@ -33139,7 +33137,6 @@ paths: - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. - - **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. tags: - pulls operationId: pulls/create @@ -33635,7 +33632,6 @@ paths: - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. - - **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. tags: - pulls operationId: pulls/update @@ -34094,7 +34090,6 @@ paths: - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. - - **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. tags: - pulls operationId: pulls/list-commits @@ -34142,7 +34137,6 @@ paths: - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. - - **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. tags: - pulls operationId: pulls/list-files @@ -71590,8 +71584,12 @@ components: type: - integer - 'null' - description: The ID of the actor that can bypass a ruleset. If `actor_type` - is `OrganizationAdmin`, this should be `1`. + description: 'The ID of the actor that can bypass a ruleset. If `actor_type` + is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, + this should be null. `OrganizationAdmin` is not applicable for personal + repositories. + + ' actor_type: type: string enum: @@ -71599,11 +71597,17 @@ components: - OrganizationAdmin - RepositoryRole - Team - description: The type of actor that can bypass a ruleset + - DeployKey + description: 'The type of actor that can bypass a ruleset. + + ' bypass_mode: type: string - description: When the specified actor can bypass the ruleset. `pull_request` - means that an actor can only bypass rules on pull requests. + description: 'When the specified actor can bypass the ruleset. `pull_request` + means that an actor can only bypass rules on pull requests. `pull_request` + is not applicable for the `DeployKey` actor type. + + ' enum: - always - pull_request