Skip to content

Commit 56e1f44

Browse files
Commit via running ake Sources/billing
1 parent 00142b2 commit 56e1f44

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

Sources/billing/Client.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public struct Client: APIProtocol {
4444
///
4545
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
4646
///
47-
/// Access tokens must have the `repo` or `admin:org` scope.
47+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
4848
///
4949
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/actions`.
5050
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -112,7 +112,7 @@ public struct Client: APIProtocol {
112112
///
113113
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
114114
///
115-
/// Access tokens must have the `repo` or `admin:org` scope.
115+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
116116
///
117117
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/packages`.
118118
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -180,7 +180,7 @@ public struct Client: APIProtocol {
180180
///
181181
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
182182
///
183-
/// Access tokens must have the `repo` or `admin:org` scope.
183+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
184184
///
185185
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/shared-storage`.
186186
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -248,7 +248,7 @@ public struct Client: APIProtocol {
248248
///
249249
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
250250
///
251-
/// Access tokens must have the `user` scope.
251+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
252252
///
253253
/// - Remark: HTTP `GET /users/{username}/settings/billing/actions`.
254254
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -316,7 +316,7 @@ public struct Client: APIProtocol {
316316
///
317317
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
318318
///
319-
/// Access tokens must have the `user` scope.
319+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
320320
///
321321
/// - Remark: HTTP `GET /users/{username}/settings/billing/packages`.
322322
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -384,7 +384,7 @@ public struct Client: APIProtocol {
384384
///
385385
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
386386
///
387-
/// Access tokens must have the `user` scope.
387+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
388388
///
389389
/// - Remark: HTTP `GET /users/{username}/settings/billing/shared-storage`.
390390
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-user)`.

Sources/billing/Types.swift

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public protocol APIProtocol: Sendable {
1717
///
1818
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
1919
///
20-
/// Access tokens must have the `repo` or `admin:org` scope.
20+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
2121
///
2222
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/actions`.
2323
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -28,7 +28,7 @@ public protocol APIProtocol: Sendable {
2828
///
2929
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
3030
///
31-
/// Access tokens must have the `repo` or `admin:org` scope.
31+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
3232
///
3333
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/packages`.
3434
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -39,7 +39,7 @@ public protocol APIProtocol: Sendable {
3939
///
4040
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
4141
///
42-
/// Access tokens must have the `repo` or `admin:org` scope.
42+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
4343
///
4444
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/shared-storage`.
4545
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -50,7 +50,7 @@ public protocol APIProtocol: Sendable {
5050
///
5151
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
5252
///
53-
/// Access tokens must have the `user` scope.
53+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
5454
///
5555
/// - Remark: HTTP `GET /users/{username}/settings/billing/actions`.
5656
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -61,7 +61,7 @@ public protocol APIProtocol: Sendable {
6161
///
6262
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
6363
///
64-
/// Access tokens must have the `user` scope.
64+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
6565
///
6666
/// - Remark: HTTP `GET /users/{username}/settings/billing/packages`.
6767
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -72,7 +72,7 @@ public protocol APIProtocol: Sendable {
7272
///
7373
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
7474
///
75-
/// Access tokens must have the `user` scope.
75+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
7676
///
7777
/// - Remark: HTTP `GET /users/{username}/settings/billing/shared-storage`.
7878
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-user)`.
@@ -87,7 +87,7 @@ extension APIProtocol {
8787
///
8888
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
8989
///
90-
/// Access tokens must have the `repo` or `admin:org` scope.
90+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
9191
///
9292
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/actions`.
9393
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -106,7 +106,7 @@ extension APIProtocol {
106106
///
107107
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
108108
///
109-
/// Access tokens must have the `repo` or `admin:org` scope.
109+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
110110
///
111111
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/packages`.
112112
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -125,7 +125,7 @@ extension APIProtocol {
125125
///
126126
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
127127
///
128-
/// Access tokens must have the `repo` or `admin:org` scope.
128+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
129129
///
130130
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/shared-storage`.
131131
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -144,7 +144,7 @@ extension APIProtocol {
144144
///
145145
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
146146
///
147-
/// Access tokens must have the `user` scope.
147+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
148148
///
149149
/// - Remark: HTTP `GET /users/{username}/settings/billing/actions`.
150150
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -163,7 +163,7 @@ extension APIProtocol {
163163
///
164164
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
165165
///
166-
/// Access tokens must have the `user` scope.
166+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
167167
///
168168
/// - Remark: HTTP `GET /users/{username}/settings/billing/packages`.
169169
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -182,7 +182,7 @@ extension APIProtocol {
182182
///
183183
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
184184
///
185-
/// Access tokens must have the `user` scope.
185+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
186186
///
187187
/// - Remark: HTTP `GET /users/{username}/settings/billing/shared-storage`.
188188
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-user)`.
@@ -481,7 +481,7 @@ public enum Operations {
481481
///
482482
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
483483
///
484-
/// Access tokens must have the `repo` or `admin:org` scope.
484+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
485485
///
486486
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/actions`.
487487
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/actions/get(billing/get-github-actions-billing-org)`.
@@ -617,7 +617,7 @@ public enum Operations {
617617
///
618618
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
619619
///
620-
/// Access tokens must have the `repo` or `admin:org` scope.
620+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
621621
///
622622
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/packages`.
623623
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/packages/get(billing/get-github-packages-billing-org)`.
@@ -753,7 +753,7 @@ public enum Operations {
753753
///
754754
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
755755
///
756-
/// Access tokens must have the `repo` or `admin:org` scope.
756+
/// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.
757757
///
758758
/// - Remark: HTTP `GET /orgs/{org}/settings/billing/shared-storage`.
759759
/// - Remark: Generated from `#/paths//orgs/{org}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-org)`.
@@ -889,7 +889,7 @@ public enum Operations {
889889
///
890890
/// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
891891
///
892-
/// Access tokens must have the `user` scope.
892+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
893893
///
894894
/// - Remark: HTTP `GET /users/{username}/settings/billing/actions`.
895895
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/actions/get(billing/get-github-actions-billing-user)`.
@@ -1025,7 +1025,7 @@ public enum Operations {
10251025
///
10261026
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
10271027
///
1028-
/// Access tokens must have the `user` scope.
1028+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
10291029
///
10301030
/// - Remark: HTTP `GET /users/{username}/settings/billing/packages`.
10311031
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/packages/get(billing/get-github-packages-billing-user)`.
@@ -1161,7 +1161,7 @@ public enum Operations {
11611161
///
11621162
/// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
11631163
///
1164-
/// Access tokens must have the `user` scope.
1164+
/// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
11651165
///
11661166
/// - Remark: HTTP `GET /users/{username}/settings/billing/shared-storage`.
11671167
/// - Remark: Generated from `#/paths//users/{username}/settings/billing/shared-storage/get(billing/get-shared-storage-billing-user)`.

0 commit comments

Comments
 (0)