Skip to content

Commit 1f5289c

Browse files
committed
Correct example property name
1 parent 77d902b commit 1f5289c

File tree

842 files changed

+842
-842
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

842 files changed

+842
-842
lines changed

src/Schema/Actions/CreateOrUpdateOrgSecret/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["visibility"],"type":"object","properties":{"encrypted_value":{"pattern":"^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=|[A-Za-z0-9+\\/]{4})$","type":"string","description":"Value for your secret, encrypted with [LibSodium](https:\\/\\/libsodium.gitbook.io\\/doc\\/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https:\\/\\/docs.github.com\\/github-ae@latest\\/rest\\/reference\\/actions#get-an-organization-public-key) endpoint."},"key_id":{"type":"string","description":"ID of the key you used to encrypt the secret."},"visibility":{"enum":["all","private","selected"],"type":"string","description":"Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret."},"selected_repository_ids":{"type":"array","items":{"type":"integer"},"description":"An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https:\\/\\/docs.github.com\\/github-ae@latest\\/rest\\/reference\\/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https:\\/\\/docs.github.com\\/github-ae@latest\\/rest\\/reference\\/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https:\\/\\/docs.github.com\\/github-ae@latest\\/rest\\/reference\\/actions#remove-selected-repository-from-an-organization-secret) endpoints."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"encryptedValue":"generated_encrypted_value_null","keyId":"generated_key_id_null","visibility":"all","selectedRepositoryIds":[13]}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"encrypted_value":"generated_encrypted_value_null","key_id":"generated_key_id_null","visibility":"all","selected_repository_ids":[13]}';
1717
/**
1818
* encryptedValue: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-public-key) endpoint.
1919
* keyId: ID of the key you used to encrypt the secret.

src/Schema/Actions/CreateOrUpdateRepoSecret/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"type":"object","properties":{"encrypted_value":{"pattern":"^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=|[A-Za-z0-9+\\/]{4})$","type":"string","description":"Value for your secret, encrypted with [LibSodium](https:\\/\\/libsodium.gitbook.io\\/doc\\/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https:\\/\\/docs.github.com\\/github-ae@latest\\/rest\\/reference\\/actions#get-a-repository-public-key) endpoint."},"key_id":{"type":"string","description":"ID of the key you used to encrypt the secret."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"encryptedValue":"generated_encrypted_value_null","keyId":"generated_key_id_null"}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"encrypted_value":"generated_encrypted_value_null","key_id":"generated_key_id_null"}';
1717
/**
1818
* encryptedValue: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/github-ae@latest/rest/reference/actions#get-a-repository-public-key) endpoint.
1919
* keyId: ID of the key you used to encrypt the secret.

src/Schema/Actions/CreateSelfHostedRunnerGroupForOrg/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Name of the runner group."},"visibility":{"enum":["selected","all","private"],"type":"string","description":"Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.","default":"all"},"selected_repository_ids":{"type":"array","items":{"type":"integer","description":"Unique identifier of the repository."},"description":"List of repository IDs that can access the runner group."},"runners":{"type":"array","items":{"type":"integer","description":"Unique identifier of the runner."},"description":"List of runner IDs to add to the runner group."},"allows_public_repositories":{"type":"boolean","description":"Whether the runner group can be used by `public` repositories.","default":false},"restricted_to_workflows":{"type":"boolean","description":"If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.","default":false},"selected_workflows":{"type":"array","items":{"type":"string","description":"Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required.","examples":["octo-org\\/octo-repo\\/.github\\/workflows\\/deploy.yaml@main"]},"description":"List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"name":"generated_name_null","visibility":"selected","selectedRepositoryIds":[13],"runners":[13],"allowsPublicRepositories":false,"restrictedToWorkflows":false,"selectedWorkflows":["generated_selected_workflows_null"]}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"name":"generated_name_null","visibility":"selected","selected_repository_ids":[13],"runners":[13],"allows_public_repositories":false,"restricted_to_workflows":false,"selected_workflows":["generated_selected_workflows_null"]}';
1717
/**
1818
* name: Name of the runner group.
1919
* visibility: Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.

src/Schema/Actions/SetGithubActionsPermissionsOrganization/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["enabled_repositories"],"type":"object","properties":{"enabled_repositories":{"enum":["all","none","selected"],"type":"string","description":"The policy that controls the repositories in the organization that are allowed to run GitHub Actions."},"allowed_actions":{"enum":["all","local_only","selected"],"type":"string","description":"The permissions policy that controls the actions that are allowed to run."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"enabledRepositories":"all","allowedActions":"all"}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"enabled_repositories":"all","allowed_actions":"all"}';
1717
/**
1818
* enabledRepositories: The policy that controls the repositories in the organization that are allowed to run GitHub Actions.
1919
* allowedActions: The permissions policy that controls the actions that are allowed to run.

src/Schema/Actions/SetGithubActionsPermissionsRepository/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether GitHub Actions is enabled on the repository."},"allowed_actions":{"enum":["all","local_only","selected"],"type":"string","description":"The permissions policy that controls the actions that are allowed to run."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"enabled":false,"allowedActions":"all"}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"enabled":false,"allowed_actions":"all"}';
1717
/**
1818
* enabled: Whether GitHub Actions is enabled on the repository.
1919
* allowedActions: The permissions policy that controls the actions that are allowed to run.

src/Schema/Actions/SetSelectedReposForOrgSecret/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["selected_repository_ids"],"type":"object","properties":{"selected_repository_ids":{"type":"array","items":{"type":"integer"},"description":"An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https:\\/\\/docs.github.com\\/github-ae@latest\\/rest\\/actions\\/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https:\\/\\/docs.github.com\\/github-ae@latest\\/rest\\/reference\\/actions#remove-selected-repository-from-an-organization-secret) endpoints."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"selectedRepositoryIds":[13]}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"selected_repository_ids":[13]}';
1717
/**
1818
* selectedRepositoryIds: An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/github-ae@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.
1919
* @param array<int> $selectedRepositoryIds

src/Schema/Actions/SetSelectedRepositoriesEnabledGithubActionsOrganization/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["selected_repository_ids"],"type":"object","properties":{"selected_repository_ids":{"type":"array","items":{"type":"integer","description":"Unique identifier of the repository."},"description":"List of repository IDs to enable for GitHub Actions."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"selectedRepositoryIds":[13]}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"selected_repository_ids":[13]}';
1717
/**
1818
* selectedRepositoryIds: List of repository IDs to enable for GitHub Actions.
1919
* @param array<int> $selectedRepositoryIds

src/Schema/Actions/UpdateSelfHostedRunnerGroupForOrg/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Name of the runner group."},"visibility":{"enum":["selected","all","private"],"type":"string","description":"Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories."},"allows_public_repositories":{"type":"boolean","description":"Whether the runner group can be used by `public` repositories.","default":false},"restricted_to_workflows":{"type":"boolean","description":"If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.","default":false},"selected_workflows":{"type":"array","items":{"type":"string","description":"Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required.","examples":["octo-org\\/octo-repo\\/.github\\/workflows\\/deploy.yaml@main"]},"description":"List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"name":"generated_name_null","visibility":"selected","allowsPublicRepositories":false,"restrictedToWorkflows":false,"selectedWorkflows":["generated_selected_workflows_null"]}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"name":"generated_name_null","visibility":"selected","allows_public_repositories":false,"restricted_to_workflows":false,"selected_workflows":["generated_selected_workflows_null"]}';
1717
/**
1818
* name: Name of the runner group.
1919
* visibility: Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories.

src/Schema/ActionsEnterprisePermissions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["enabled_organizations"],"type":"object","properties":{"enabled_organizations":{"enum":["all","none","selected"],"type":"string","description":"The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions."},"selected_organizations_url":{"type":"string","description":"The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`."},"allowed_actions":{"enum":["all","local_only","selected"],"type":"string","description":"The permissions policy that controls the actions that are allowed to run."},"selected_actions_url":{"type":"string","description":"The API URL to use to get or set the actions that are allowed to run, when `allowed_actions` is set to `selected`."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"enabledOrganizations":"all","selectedOrganizationsUrl":"generated_selected_organizations_url_null","allowedActions":"all","selectedActionsUrl":"generated_selected_actions_url_null"}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"enabled_organizations":"all","selected_organizations_url":"generated_selected_organizations_url_null","allowed_actions":"all","selected_actions_url":"generated_selected_actions_url_null"}';
1717
/**
1818
* enabledOrganizations: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions.
1919
* selectedOrganizationsUrl: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`.

src/Schema/ActionsGetDefaultWorkflowPermissions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public const SCHEMA_JSON = '{"required":["default_workflow_permissions","can_approve_pull_request_reviews"],"type":"object","properties":{"default_workflow_permissions":{"enum":["read","write"],"type":"string","description":"The default workflow permissions granted to the GITHUB_TOKEN when running workflows."},"can_approve_pull_request_reviews":{"type":"boolean","description":"Whether GitHub Actions can approve pull requests. Enabling this can be a security risk."}}}';
1414
public const SCHEMA_TITLE = '';
1515
public const SCHEMA_DESCRIPTION = '';
16-
public const SCHEMA_EXAMPLE_DATA = '{"defaultWorkflowPermissions":"read","canApprovePullRequestReviews":false}';
16+
public const SCHEMA_EXAMPLE_DATA = '{"default_workflow_permissions":"read","can_approve_pull_request_reviews":false}';
1717
/**
1818
* defaultWorkflowPermissions: The default workflow permissions granted to the GITHUB_TOKEN when running workflows.
1919
* canApprovePullRequestReviews: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk.

0 commit comments

Comments
 (0)