Skip to content

Commit 5b17efc

Browse files
Commit via running: make Sources/secret-scanning
1 parent bd668f4 commit 5b17efc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/secret-scanning/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public struct Client: APIProtocol {
459459
///
460460
/// Lists the secret scanning pattern configurations for an organization.
461461
///
462-
/// Personal access tokens (classic) need the `write:org` scope to use this endpoint.
462+
/// Personal access tokens (classic) need the `read:org` scope to use this endpoint.
463463
///
464464
/// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`.
465465
/// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`.

Sources/secret-scanning/Types.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public protocol APIProtocol: Sendable {
3939
///
4040
/// Lists the secret scanning pattern configurations for an organization.
4141
///
42-
/// Personal access tokens (classic) need the `write:org` scope to use this endpoint.
42+
/// Personal access tokens (classic) need the `read:org` scope to use this endpoint.
4343
///
4444
/// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`.
4545
/// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`.
@@ -169,7 +169,7 @@ extension APIProtocol {
169169
///
170170
/// Lists the secret scanning pattern configurations for an organization.
171171
///
172-
/// Personal access tokens (classic) need the `write:org` scope to use this endpoint.
172+
/// Personal access tokens (classic) need the `read:org` scope to use this endpoint.
173173
///
174174
/// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`.
175175
/// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`.
@@ -3738,7 +3738,7 @@ public enum Operations {
37383738
///
37393739
/// Lists the secret scanning pattern configurations for an organization.
37403740
///
3741-
/// Personal access tokens (classic) need the `write:org` scope to use this endpoint.
3741+
/// Personal access tokens (classic) need the `read:org` scope to use this endpoint.
37423742
///
37433743
/// - Remark: HTTP `GET /orgs/{org}/secret-scanning/pattern-configurations`.
37443744
/// - Remark: Generated from `#/paths//orgs/{org}/secret-scanning/pattern-configurations/get(secret-scanning/list-org-pattern-configs)`.

0 commit comments

Comments
 (0)