You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/actions/Client.swift
+2-2
Original file line number
Diff line number
Diff line change
@@ -6809,8 +6809,8 @@ public struct Client: APIProtocol {
6809
6809
///
6810
6810
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
6811
6811
///
6812
-
/// **Note:** GitHub Apps can only review their own custom deployment protection rules.
6813
-
/// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
6812
+
/// > [!NOTE]
6813
+
/// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
6814
6814
///
6815
6815
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
Copy file name to clipboardExpand all lines: Sources/actions/Types.swift
+8-7
Original file line number
Diff line number
Diff line change
@@ -984,8 +984,8 @@ public protocol APIProtocol: Sendable {
984
984
///
985
985
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
986
986
///
987
-
/// **Note:** GitHub Apps can only review their own custom deployment protection rules.
988
-
/// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
987
+
/// > [!NOTE]
988
+
/// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
989
989
///
990
990
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
991
991
///
@@ -3027,8 +3027,8 @@ extension APIProtocol {
3027
3027
///
3028
3028
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
3029
3029
///
3030
-
/// **Note:** GitHub Apps can only review their own custom deployment protection rules.
3031
-
/// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
3030
+
/// > [!NOTE]
3031
+
/// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
3032
3032
///
3033
3033
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
3034
3034
///
@@ -6341,7 +6341,8 @@ public enum Components {
6341
6341
public var verified_allowed: Swift.Bool?
6342
6342
/// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
6343
6343
///
6344
-
/// **Note**: The `patterns_allowed` setting only applies to public repositories.
6344
+
/// > [!NOTE]
6345
+
/// > The `patterns_allowed` setting only applies to public repositories.
6345
6346
///
6346
6347
/// - Remark: Generated from `#/components/schemas/selected-actions/patterns_allowed`.
6347
6348
public var patterns_allowed: [Swift.String]?
@@ -23019,8 +23020,8 @@ public enum Operations {
23019
23020
///
23020
23021
/// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
23021
23022
///
23022
-
/// **Note:** GitHub Apps can only review their own custom deployment protection rules.
23023
-
/// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
23023
+
/// > [!NOTE]
23024
+
/// > GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
23024
23025
///
23025
23026
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
Copy file name to clipboardExpand all lines: Sources/activity/Client.swift
+4-3
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,8 @@ public struct Client: APIProtocol {
174
174
///
175
175
/// By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
176
176
///
177
-
/// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
177
+
/// > [!NOTE]
178
+
/// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
178
179
///
179
180
/// - Remark: HTTP `GET /feeds`.
180
181
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
@@ -1307,8 +1308,8 @@ public struct Client: APIProtocol {
1307
1308
}
1308
1309
/// List repository events
1309
1310
///
1310
-
/// **Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
1311
-
///
1311
+
/// > [!NOTE]
1312
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
Copy file name to clipboardExpand all lines: Sources/activity/Types.swift
+12-9
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,8 @@ public protocol APIProtocol: Sendable {
32
32
///
33
33
/// By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
34
34
///
35
-
/// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
35
+
/// > [!NOTE]
36
+
/// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
36
37
///
37
38
/// - Remark: HTTP `GET /feeds`.
38
39
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
@@ -115,8 +116,8 @@ public protocol APIProtocol: Sendable {
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/events/get(activity/list-repo-events)`.
@@ -299,7 +300,8 @@ extension APIProtocol {
299
300
///
300
301
/// By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
301
302
///
302
-
/// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
303
+
/// > [!NOTE]
304
+
/// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
303
305
///
304
306
/// - Remark: HTTP `GET /feeds`.
305
307
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
@@ -464,8 +466,8 @@ extension APIProtocol {
464
466
}
465
467
/// List repository events
466
468
///
467
-
/// **Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
468
-
///
469
+
/// > [!NOTE]
470
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/events/get(activity/list-repo-events)`.
@@ -4924,7 +4926,8 @@ public enum Operations {
4924
4926
///
4925
4927
/// By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
4926
4928
///
4927
-
/// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
4929
+
/// > [!NOTE]
4930
+
/// > Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since current feed URIs use the older, non revocable auth tokens.
4928
4931
///
4929
4932
/// - Remark: HTTP `GET /feeds`.
4930
4933
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
@@ -7028,8 +7031,8 @@ public enum Operations {
7028
7031
}
7029
7032
/// List repository events
7030
7033
///
7031
-
/// **Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
7032
-
///
7034
+
/// > [!NOTE]
7035
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
Copy file name to clipboardExpand all lines: Sources/apps/Client.swift
+2-1
Original file line number
Diff line number
Diff line change
@@ -1916,7 +1916,8 @@ public struct Client: APIProtocol {
1916
1916
}
1917
1917
/// Get an app
1918
1918
///
1919
-
/// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
1919
+
/// > [!NOTE]
1920
+
/// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
1920
1921
///
1921
1922
/// - Remark: HTTP `GET /apps/{app_slug}`.
1922
1923
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
/// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
184
+
/// > [!NOTE]
185
+
/// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
185
186
///
186
187
/// - Remark: HTTP `GET /apps/{app_slug}`.
187
188
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
@@ -663,7 +664,8 @@ extension APIProtocol {
663
664
}
664
665
/// Get an app
665
666
///
666
-
/// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
667
+
/// > [!NOTE]
668
+
/// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
667
669
///
668
670
/// - Remark: HTTP `GET /apps/{app_slug}`.
669
671
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
@@ -8420,7 +8422,8 @@ public enum Operations {
8420
8422
}
8421
8423
/// Get an app
8422
8424
///
8423
-
/// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
8425
+
/// > [!NOTE]
8426
+
/// > The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).
8424
8427
///
8425
8428
/// - Remark: HTTP `GET /apps/{app_slug}`.
8426
8429
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
0 commit comments