Skip to content

[GitHub] Update to 1.1.4-6f03f69310915cd2cc2ba810a95cb8af from 1.1.4-5bd2a30080267627618f4b33aa9b7f31 #1158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions clients/GitHub/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "5bd2a30080267627618f4b33aa9b7f31",
"specHash": "6f03f69310915cd2cc2ba810a95cb8af",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -524,7 +524,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php",
"hash": "67c3a415716e58a90f8abf469062dac5"
"hash": "83705a685ea73d3e8f172764ffba2711"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditions.php",
Expand Down Expand Up @@ -604,7 +604,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
"hash": "dddbb5dc9bd8dd7a3ad803bca2cb1e57"
"hash": "ef85fa7d7b57ba43af2d6916a489f8cd"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/ActionsBillingUsage.php",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -11784,7 +11784,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php",
"hash": "df289711440a14ba7ae749579efb50f6"
"hash": "245da86a74734162346845fbbd30ad8e"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,26 @@
"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": [
"always",
"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"
Expand Down Expand Up @@ -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"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,26 @@
"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": [
"always",
"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"
Expand Down Expand Up @@ -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"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,26 @@
"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": [
"always",
"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"
Expand Down Expand Up @@ -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"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,26 @@
"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": [
"always",
"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"
Expand Down Expand Up @@ -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"
}
],
Expand Down
13 changes: 7 additions & 6 deletions clients/GitHub/src/Schema/RepositoryRuleset.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,26 @@
"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": [
"always",
"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"
Expand Down Expand Up @@ -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"
}
],
Expand Down
17 changes: 9 additions & 8 deletions clients/GitHub/src/Schema/RepositoryRulesetBypassActor.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,26 @@
"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": [
"always",
"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"
Expand All @@ -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')]
Expand Down
Loading
Loading