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-2Lines changed: 2 additions & 2 deletions
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-7Lines changed: 8 additions & 7 deletions
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.
0 commit comments