@@ -886,7 +886,8 @@ def create_secret(
886886 :param selected_repositories: list of repositrories that the secret will be available in
887887 :param secret_type: string options actions or dependabot
888888
889- :calls: `PUT /orgs/{org}/{secret_type}/secrets/{secret_name} <https://docs.github.com/en/rest/actions/secrets#create-or-update-an-organization-secret>`_
889+ :calls: `PUT /orgs/{org}/actions/secrets/{secret_name} <https://docs.github.com/rest/actions/secrets#get-an-organization-secret>`_
890+ :calls: `PUT /orgs/{org}/dependabot/secrets/{secret_name} <https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret>`_
890891 """
891892 assert isinstance (secret_name , str ), secret_name
892893 assert isinstance (unencrypted_value , str ), unencrypted_value
@@ -937,7 +938,9 @@ def get_secrets(self, secret_type: str = "actions") -> PaginatedList[Organizatio
937938 """
938939 Gets all organization secrets :param secret_type: string options actions or dependabot :rtype:
939940
940- :class:`PaginatedList` of :class:`github.OrganizationSecret.OrganizationSecret`
941+ :calls: `GET /orgs/{org}/actions/secrets <https://docs.github.com/rest/actions/secrets#list-organization-
942+ secrets>`_ :calls: `GET /orgs/{org}/dependabot/secrets
943+ <https://docs.github.com/rest/dependabot/secrets#list-organization-secrets>`_
941944
942945 """
943946 assert secret_type in ["actions" , "dependabot" ], "secret_type should be actions or dependabot"
@@ -951,7 +954,8 @@ def get_secrets(self, secret_type: str = "actions") -> PaginatedList[Organizatio
951954
952955 def get_secret (self , secret_name : str , secret_type : str = "actions" ) -> OrganizationSecret :
953956 """
954- :calls: `GET /orgs/{org}/{secret_type}/secrets/{secret_name} <https://docs.github.com/en/rest/actions/secrets#get-an-organization-secret>`_
957+ :calls: `GET /orgs/{org}/actions/secrets/{secret_name} <https://docs.github.com/rest/actions/secrets#get-an-organization-secret>`_
958+ :calls: `GET /orgs/{org}/dependabot/secrets/{secret_name} <https://docs.github.com/rest/actions/secrets#get-an-organization-secret>`_
955959 :param secret_name: string
956960 :param secret_type: string options actions or dependabot
957961 :rtype: github.OrganizationSecret.OrganizationSecret
@@ -1323,7 +1327,8 @@ def convert_to_outside_collaborator(self, member: NamedUser) -> None:
13231327
13241328 def get_public_key (self , secret_type : str = "actions" ) -> PublicKey :
13251329 """
1326- :calls: `GET /orgs/{org}/{secret_type}/secrets/public-key <https://docs.github.com/en/rest/reference/actions#get-an-organization-public-key>`_
1330+ :calls: `GET /orgs/{org}/actions/secrets/public-key <http://docs.github.com/rest/actions/secrets#get-an-organization-public-key>`_
1331+ :calls: `GET /orgs/{org}/dependabot/secrets/public-key <http://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key>`_
13271332 :param secret_type: string options actions or dependabot
13281333 :rtype: :class:`github.PublicKey.PublicKey`
13291334 """
@@ -1703,7 +1708,7 @@ def list_custom_property_values(
17031708 self , repository_query : Opt [str ] = NotSet
17041709 ) -> PaginatedList [RepositoryCustomPropertyValues ]:
17051710 """
1706- :calls: `GET /orgs/{org}/properties <https://docs.github.com/en/rest/orgs/custom-properties#list-custom-property-values-for-an-organization>`_
1711+ :calls: `GET /orgs/{org}/properties/values <https://docs.github.com/en/rest/orgs/custom-properties#list-custom-property-values-for-an-organization>`_
17071712 :rtype: :class:`PaginatedList` of dict
17081713 """
17091714 return PaginatedList (
@@ -1718,7 +1723,7 @@ def create_custom_property_values(
17181723 ) -> None :
17191724 """
17201725 Create or update custom property values for organization repositories
1721- :calls: `PATCH /orgs/{org}/properties <https://docs.github.com/en/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories>`_
1726+ :calls: `PATCH /orgs/{org}/properties/values <https://docs.github.com/en/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories>`_
17221727 :param repository_names: list of strings
17231728 :param properties: dict of string to string, list or None
17241729 :rtype: None
0 commit comments