Skip to content

Bump Submodule/github/rest-api-description from 3e3e138 to 9272e44 #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fd9dbe2
Bump Submodule/github/rest-api-description from `3e3e138` to `9272e44`
dependabot[bot] Jul 22, 2024
ea520f7
Commit via running ake Sources/actions
dependabot[bot] Jul 22, 2024
c4739ab
Commit via running ake Sources/activity
dependabot[bot] Jul 22, 2024
bd1d9da
Commit via running ake Sources/apps
dependabot[bot] Jul 22, 2024
3d411a2
Commit via running ake Sources/checks
dependabot[bot] Jul 22, 2024
01ddb49
Commit via running ake Sources/code-scanning
dependabot[bot] Jul 22, 2024
faf8561
Commit via running ake Sources/gists
dependabot[bot] Jul 22, 2024
e8e4ea0
Commit via running ake Sources/git
dependabot[bot] Jul 22, 2024
700fa7c
Commit via running ake Sources/issues
dependabot[bot] Jul 22, 2024
3bf67d9
Commit via running ake Sources/meta
dependabot[bot] Jul 22, 2024
bb9bf13
Commit via running ake Sources/migrations
dependabot[bot] Jul 22, 2024
9df62b2
Commit via running ake Sources/orgs
dependabot[bot] Jul 22, 2024
7467f92
Commit via running ake Sources/pulls
dependabot[bot] Jul 22, 2024
33e5602
Commit via running ake Sources/rate-limit
dependabot[bot] Jul 22, 2024
6c99533
Commit via running ake Sources/reactions
dependabot[bot] Jul 22, 2024
9d59d9b
Commit via running ake Sources/repos
dependabot[bot] Jul 22, 2024
d841509
Commit via running ake Sources/search
dependabot[bot] Jul 22, 2024
b246f82
Commit via running ake Sources/teams
dependabot[bot] Jul 22, 2024
c8f11dd
Commit via running ake Sources/copilot
dependabot[bot] Jul 22, 2024
c9dc190
Commit via running ake Sources/security-advisories
dependabot[bot] Jul 22, 2024
ffd7365
Commit via running ake Sources/code-security
dependabot[bot] Jul 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/actions/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6809,8 +6809,8 @@ public struct Client: APIProtocol {
///
/// 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)."
///
/// **Note:** 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).
/// > [!NOTE]
/// > 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).
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
Expand Down
15 changes: 8 additions & 7 deletions Sources/actions/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -984,8 +984,8 @@ public protocol APIProtocol: Sendable {
///
/// 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)."
///
/// **Note:** 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).
/// > [!NOTE]
/// > 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).
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
Expand Down Expand Up @@ -3027,8 +3027,8 @@ extension APIProtocol {
///
/// 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)."
///
/// **Note:** 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).
/// > [!NOTE]
/// > 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).
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
Expand Down Expand Up @@ -6341,7 +6341,8 @@ public enum Components {
public var verified_allowed: Swift.Bool?
/// 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/*`.
///
/// **Note**: The `patterns_allowed` setting only applies to public repositories.
/// > [!NOTE]
/// > The `patterns_allowed` setting only applies to public repositories.
///
/// - Remark: Generated from `#/components/schemas/selected-actions/patterns_allowed`.
public var patterns_allowed: [Swift.String]?
Expand Down Expand Up @@ -23019,8 +23020,8 @@ public enum Operations {
///
/// 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)."
///
/// **Note:** 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).
/// > [!NOTE]
/// > 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).
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
Expand Down
7 changes: 4 additions & 3 deletions Sources/activity/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ public struct Client: APIProtocol {
///
/// 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)."
///
/// **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.
/// > [!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.
///
/// - Remark: HTTP `GET /feeds`.
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
Expand Down Expand Up @@ -1307,8 +1308,8 @@ public struct Client: APIProtocol {
}
/// List repository events
///
/// **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.
///
/// > [!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.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/events/get(activity/list-repo-events)`.
Expand Down
21 changes: 12 additions & 9 deletions Sources/activity/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public protocol APIProtocol: Sendable {
///
/// 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)."
///
/// **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.
/// > [!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.
///
/// - Remark: HTTP `GET /feeds`.
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
Expand Down Expand Up @@ -115,8 +116,8 @@ public protocol APIProtocol: Sendable {
func activity_sol_list_hyphen_public_hyphen_org_hyphen_events(_ input: Operations.activity_sol_list_hyphen_public_hyphen_org_hyphen_events.Input) async throws -> Operations.activity_sol_list_hyphen_public_hyphen_org_hyphen_events.Output
/// List repository events
///
/// **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.
///
/// > [!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.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/events/get(activity/list-repo-events)`.
Expand Down Expand Up @@ -299,7 +300,8 @@ extension APIProtocol {
///
/// 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)."
///
/// **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.
/// > [!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.
///
/// - Remark: HTTP `GET /feeds`.
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
Expand Down Expand Up @@ -464,8 +466,8 @@ extension APIProtocol {
}
/// List repository events
///
/// **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.
///
/// > [!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.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/events/get(activity/list-repo-events)`.
Expand Down Expand Up @@ -4924,7 +4926,8 @@ public enum Operations {
///
/// 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)."
///
/// **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.
/// > [!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.
///
/// - Remark: HTTP `GET /feeds`.
/// - Remark: Generated from `#/paths//feeds/get(activity/get-feeds)`.
Expand Down Expand Up @@ -7028,8 +7031,8 @@ public enum Operations {
}
/// List repository events
///
/// **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.
///
/// > [!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.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/events`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/events/get(activity/list-repo-events)`.
Expand Down
3 changes: 2 additions & 1 deletion Sources/apps/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,8 @@ public struct Client: APIProtocol {
}
/// Get an app
///
/// **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`).
/// > [!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`).
///
/// - Remark: HTTP `GET /apps/{app_slug}`.
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
Expand Down
9 changes: 6 additions & 3 deletions Sources/apps/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ public protocol APIProtocol: Sendable {
func apps_sol_scope_hyphen_token(_ input: Operations.apps_sol_scope_hyphen_token.Input) async throws -> Operations.apps_sol_scope_hyphen_token.Output
/// Get an app
///
/// **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`).
/// > [!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`).
///
/// - Remark: HTTP `GET /apps/{app_slug}`.
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
Expand Down Expand Up @@ -663,7 +664,8 @@ extension APIProtocol {
}
/// Get an app
///
/// **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`).
/// > [!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`).
///
/// - Remark: HTTP `GET /apps/{app_slug}`.
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
Expand Down Expand Up @@ -8420,7 +8422,8 @@ public enum Operations {
}
/// Get an app
///
/// **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`).
/// > [!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`).
///
/// - Remark: HTTP `GET /apps/{app_slug}`.
/// - Remark: Generated from `#/paths//apps/{app_slug}/get(apps/get-by-slug)`.
Expand Down
Loading