File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2798,7 +2798,7 @@ public struct Client: APIProtocol {
27982798 ///
27992799 /// Adds a public SSH key to the authenticated user's GitHub account.
28002800 ///
2801- /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key ` scope to use this endpoint.
2801+ /// OAuth app tokens and personal access tokens (classic) need the `write:public_key ` scope to use this endpoint.
28022802 ///
28032803 /// - Remark: HTTP `POST /user/keys`.
28042804 /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ public protocol APIProtocol: Sendable {
170170 ///
171171 /// Adds a public SSH key to the authenticated user's GitHub account.
172172 ///
173- /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key ` scope to use this endpoint.
173+ /// OAuth app tokens and personal access tokens (classic) need the `write:public_key ` scope to use this endpoint.
174174 ///
175175 /// - Remark: HTTP `POST /user/keys`.
176176 /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.
@@ -720,7 +720,7 @@ extension APIProtocol {
720720 ///
721721 /// Adds a public SSH key to the authenticated user's GitHub account.
722722 ///
723- /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key ` scope to use this endpoint.
723+ /// OAuth app tokens and personal access tokens (classic) need the `write:public_key ` scope to use this endpoint.
724724 ///
725725 /// - Remark: HTTP `POST /user/keys`.
726726 /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.
@@ -8066,7 +8066,7 @@ public enum Operations {
80668066 ///
80678067 /// Adds a public SSH key to the authenticated user's GitHub account.
80688068 ///
8069- /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key ` scope to use this endpoint.
8069+ /// OAuth app tokens and personal access tokens (classic) need the `write:public_key ` scope to use this endpoint.
80708070 ///
80718071 /// - Remark: HTTP `POST /user/keys`.
80728072 /// - Remark: Generated from `#/paths//user/keys/post(users/create-public-ssh-key-for-authenticated-user)`.
You can’t perform that action at this time.
0 commit comments