Skip to content

Commit 4c8fbb1

Browse files
Merge pull request #177 from wei18/dependabot/submodules/Submodule/github/rest-api-description-758e552
Bump Submodule/github/rest-api-description from `d5aff63` to `758e552`
2 parents 427c3ea + 04d2d9f commit 4c8fbb1

File tree

36 files changed

+15290
-2466
lines changed

36 files changed

+15290
-2466
lines changed

.spi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ builder:
44
- documentation_targets:
55
- GitHubRestAPIActions
66
- GitHubRestAPIActivity
7+
- GitHubRestAPIAgent_Tasks
78
- GitHubRestAPIApps
89
- GitHubRestAPIBilling
910
- GitHubRestAPICampaigns

Package.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ let package = Package(
1313
products: [
1414
.library(name: "GitHubRestAPIActions", targets: ["GitHubRestAPIActions"]),
1515
.library(name: "GitHubRestAPIActivity", targets: ["GitHubRestAPIActivity"]),
16+
.library(name: "GitHubRestAPIAgent_Tasks", targets: ["GitHubRestAPIAgent_Tasks"]),
1617
.library(name: "GitHubRestAPIApps", targets: ["GitHubRestAPIApps"]),
1718
.library(name: "GitHubRestAPIBilling", targets: ["GitHubRestAPIBilling"]),
1819
.library(name: "GitHubRestAPICampaigns", targets: ["GitHubRestAPICampaigns"]),
@@ -79,6 +80,14 @@ let package = Package(
7980
],
8081
path: "Sources/activity"
8182
),
83+
.target(
84+
name: "GitHubRestAPIAgent_Tasks",
85+
dependencies: [
86+
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
87+
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession"),
88+
],
89+
path: "Sources/agent-tasks"
90+
),
8291
.target(
8392
name: "GitHubRestAPIApps",
8493
dependencies: [

Sources/actions/Types.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6209,10 +6209,6 @@ public enum Components {
62096209
///
62106210
/// - Remark: Generated from `#/components/schemas/repository/pull_request_creation_policy`.
62116211
public var pullRequestCreationPolicy: Components.Schemas.Repository.PullRequestCreationPolicyPayload?
6212-
/// Whether commit comments are enabled.
6213-
///
6214-
/// - Remark: Generated from `#/components/schemas/repository/has_commit_comments`.
6215-
public var hasCommitComments: Swift.Bool?
62166212
/// Whether the repository is archived.
62176213
///
62186214
/// - Remark: Generated from `#/components/schemas/repository/archived`.
@@ -6460,7 +6456,6 @@ public enum Components {
64606456
/// - hasDiscussions: Whether discussions are enabled.
64616457
/// - hasPullRequests: Whether pull requests are enabled.
64626458
/// - pullRequestCreationPolicy: The policy controlling who can create pull requests: all or collaborators_only.
6463-
/// - hasCommitComments: Whether commit comments are enabled.
64646459
/// - archived: Whether the repository is archived.
64656460
/// - disabled: Returns whether or not this repository disabled.
64666461
/// - visibility: The repository visibility: public, private, or internal.
@@ -6560,7 +6555,6 @@ public enum Components {
65606555
hasDiscussions: Swift.Bool? = nil,
65616556
hasPullRequests: Swift.Bool? = nil,
65626557
pullRequestCreationPolicy: Components.Schemas.Repository.PullRequestCreationPolicyPayload? = nil,
6563-
hasCommitComments: Swift.Bool? = nil,
65646558
archived: Swift.Bool,
65656559
disabled: Swift.Bool,
65666560
visibility: Swift.String? = nil,
@@ -6660,7 +6654,6 @@ public enum Components {
66606654
self.hasDiscussions = hasDiscussions
66616655
self.hasPullRequests = hasPullRequests
66626656
self.pullRequestCreationPolicy = pullRequestCreationPolicy
6663-
self.hasCommitComments = hasCommitComments
66646657
self.archived = archived
66656658
self.disabled = disabled
66666659
self.visibility = visibility
@@ -6761,7 +6754,6 @@ public enum Components {
67616754
case hasDiscussions = "has_discussions"
67626755
case hasPullRequests = "has_pull_requests"
67636756
case pullRequestCreationPolicy = "pull_request_creation_policy"
6764-
case hasCommitComments = "has_commit_comments"
67656757
case archived
67666758
case disabled
67676759
case visibility
@@ -7751,8 +7743,6 @@ public enum Components {
77517743
///
77527744
/// - Remark: Generated from `#/components/schemas/minimal-repository/pull_request_creation_policy`.
77537745
public var pullRequestCreationPolicy: Components.Schemas.MinimalRepository.PullRequestCreationPolicyPayload?
7754-
/// - Remark: Generated from `#/components/schemas/minimal-repository/has_commit_comments`.
7755-
public var hasCommitComments: Swift.Bool?
77567746
/// - Remark: Generated from `#/components/schemas/minimal-repository/archived`.
77577747
public var archived: Swift.Bool?
77587748
/// - Remark: Generated from `#/components/schemas/minimal-repository/disabled`.
@@ -7971,7 +7961,6 @@ public enum Components {
79717961
/// - hasDiscussions:
79727962
/// - hasPullRequests:
79737963
/// - pullRequestCreationPolicy: The policy controlling who can create pull requests: all or collaborators_only.
7974-
/// - hasCommitComments:
79757964
/// - archived:
79767965
/// - disabled:
79777966
/// - visibility:
@@ -8063,7 +8052,6 @@ public enum Components {
80638052
hasDiscussions: Swift.Bool? = nil,
80648053
hasPullRequests: Swift.Bool? = nil,
80658054
pullRequestCreationPolicy: Components.Schemas.MinimalRepository.PullRequestCreationPolicyPayload? = nil,
8066-
hasCommitComments: Swift.Bool? = nil,
80678055
archived: Swift.Bool? = nil,
80688056
disabled: Swift.Bool? = nil,
80698057
visibility: Swift.String? = nil,
@@ -8155,7 +8143,6 @@ public enum Components {
81558143
self.hasDiscussions = hasDiscussions
81568144
self.hasPullRequests = hasPullRequests
81578145
self.pullRequestCreationPolicy = pullRequestCreationPolicy
8158-
self.hasCommitComments = hasCommitComments
81598146
self.archived = archived
81608147
self.disabled = disabled
81618148
self.visibility = visibility
@@ -8248,7 +8235,6 @@ public enum Components {
82488235
case hasDiscussions = "has_discussions"
82498236
case hasPullRequests = "has_pull_requests"
82508237
case pullRequestCreationPolicy = "pull_request_creation_policy"
8251-
case hasCommitComments = "has_commit_comments"
82528238
case archived
82538239
case disabled
82548240
case visibility

Sources/activity/Types.swift

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,10 +1659,6 @@ public enum Components {
16591659
///
16601660
/// - Remark: Generated from `#/components/schemas/repository/pull_request_creation_policy`.
16611661
public var pullRequestCreationPolicy: Components.Schemas.Repository.PullRequestCreationPolicyPayload?
1662-
/// Whether commit comments are enabled.
1663-
///
1664-
/// - Remark: Generated from `#/components/schemas/repository/has_commit_comments`.
1665-
public var hasCommitComments: Swift.Bool?
16661662
/// Whether the repository is archived.
16671663
///
16681664
/// - Remark: Generated from `#/components/schemas/repository/archived`.
@@ -1910,7 +1906,6 @@ public enum Components {
19101906
/// - hasDiscussions: Whether discussions are enabled.
19111907
/// - hasPullRequests: Whether pull requests are enabled.
19121908
/// - pullRequestCreationPolicy: The policy controlling who can create pull requests: all or collaborators_only.
1913-
/// - hasCommitComments: Whether commit comments are enabled.
19141909
/// - archived: Whether the repository is archived.
19151910
/// - disabled: Returns whether or not this repository disabled.
19161911
/// - visibility: The repository visibility: public, private, or internal.
@@ -2010,7 +2005,6 @@ public enum Components {
20102005
hasDiscussions: Swift.Bool? = nil,
20112006
hasPullRequests: Swift.Bool? = nil,
20122007
pullRequestCreationPolicy: Components.Schemas.Repository.PullRequestCreationPolicyPayload? = nil,
2013-
hasCommitComments: Swift.Bool? = nil,
20142008
archived: Swift.Bool,
20152009
disabled: Swift.Bool,
20162010
visibility: Swift.String? = nil,
@@ -2110,7 +2104,6 @@ public enum Components {
21102104
self.hasDiscussions = hasDiscussions
21112105
self.hasPullRequests = hasPullRequests
21122106
self.pullRequestCreationPolicy = pullRequestCreationPolicy
2113-
self.hasCommitComments = hasCommitComments
21142107
self.archived = archived
21152108
self.disabled = disabled
21162109
self.visibility = visibility
@@ -2211,7 +2204,6 @@ public enum Components {
22112204
case hasDiscussions = "has_discussions"
22122205
case hasPullRequests = "has_pull_requests"
22132206
case pullRequestCreationPolicy = "pull_request_creation_policy"
2214-
case hasCommitComments = "has_commit_comments"
22152207
case archived
22162208
case disabled
22172209
case visibility
@@ -5811,8 +5803,6 @@ public enum Components {
58115803
///
58125804
/// - Remark: Generated from `#/components/schemas/minimal-repository/pull_request_creation_policy`.
58135805
public var pullRequestCreationPolicy: Components.Schemas.MinimalRepository.PullRequestCreationPolicyPayload?
5814-
/// - Remark: Generated from `#/components/schemas/minimal-repository/has_commit_comments`.
5815-
public var hasCommitComments: Swift.Bool?
58165806
/// - Remark: Generated from `#/components/schemas/minimal-repository/archived`.
58175807
public var archived: Swift.Bool?
58185808
/// - Remark: Generated from `#/components/schemas/minimal-repository/disabled`.
@@ -6031,7 +6021,6 @@ public enum Components {
60316021
/// - hasDiscussions:
60326022
/// - hasPullRequests:
60336023
/// - pullRequestCreationPolicy: The policy controlling who can create pull requests: all or collaborators_only.
6034-
/// - hasCommitComments:
60356024
/// - archived:
60366025
/// - disabled:
60376026
/// - visibility:
@@ -6123,7 +6112,6 @@ public enum Components {
61236112
hasDiscussions: Swift.Bool? = nil,
61246113
hasPullRequests: Swift.Bool? = nil,
61256114
pullRequestCreationPolicy: Components.Schemas.MinimalRepository.PullRequestCreationPolicyPayload? = nil,
6126-
hasCommitComments: Swift.Bool? = nil,
61276115
archived: Swift.Bool? = nil,
61286116
disabled: Swift.Bool? = nil,
61296117
visibility: Swift.String? = nil,
@@ -6215,7 +6203,6 @@ public enum Components {
62156203
self.hasDiscussions = hasDiscussions
62166204
self.hasPullRequests = hasPullRequests
62176205
self.pullRequestCreationPolicy = pullRequestCreationPolicy
6218-
self.hasCommitComments = hasCommitComments
62196206
self.archived = archived
62206207
self.disabled = disabled
62216208
self.visibility = visibility
@@ -6308,7 +6295,6 @@ public enum Components {
63086295
case hasDiscussions = "has_discussions"
63096296
case hasPullRequests = "has_pull_requests"
63106297
case pullRequestCreationPolicy = "pull_request_creation_policy"
6311-
case hasCommitComments = "has_commit_comments"
63126298
case archived
63136299
case disabled
63146300
case visibility
@@ -6920,8 +6906,6 @@ public enum Components {
69206906
///
69216907
/// - Remark: Generated from `#/components/schemas/fork-event/forkee/pull_request_creation_policy`.
69226908
public var pullRequestCreationPolicy: Components.Schemas.ForkEvent.ForkeePayload.PullRequestCreationPolicyPayload?
6923-
/// - Remark: Generated from `#/components/schemas/fork-event/forkee/has_commit_comments`.
6924-
public var hasCommitComments: Swift.Bool?
69256909
/// - Remark: Generated from `#/components/schemas/fork-event/forkee/forks_count`.
69266910
public var forksCount: Swift.Int?
69276911
/// - Remark: Generated from `#/components/schemas/fork-event/forkee/mirror_url`.
@@ -7023,7 +7007,6 @@ public enum Components {
70237007
/// - hasDiscussions:
70247008
/// - hasPullRequests:
70257009
/// - pullRequestCreationPolicy: The policy controlling who can create pull requests: all or collaborators_only.
7026-
/// - hasCommitComments:
70277010
/// - forksCount:
70287011
/// - mirrorUrl:
70297012
/// - archived:
@@ -7107,7 +7090,6 @@ public enum Components {
71077090
hasDiscussions: Swift.Bool? = nil,
71087091
hasPullRequests: Swift.Bool? = nil,
71097092
pullRequestCreationPolicy: Components.Schemas.ForkEvent.ForkeePayload.PullRequestCreationPolicyPayload? = nil,
7110-
hasCommitComments: Swift.Bool? = nil,
71117093
forksCount: Swift.Int? = nil,
71127094
mirrorUrl: Swift.String? = nil,
71137095
archived: Swift.Bool? = nil,
@@ -7191,7 +7173,6 @@ public enum Components {
71917173
self.hasDiscussions = hasDiscussions
71927174
self.hasPullRequests = hasPullRequests
71937175
self.pullRequestCreationPolicy = pullRequestCreationPolicy
7194-
self.hasCommitComments = hasCommitComments
71957176
self.forksCount = forksCount
71967177
self.mirrorUrl = mirrorUrl
71977178
self.archived = archived
@@ -7276,7 +7257,6 @@ public enum Components {
72767257
case hasDiscussions = "has_discussions"
72777258
case hasPullRequests = "has_pull_requests"
72787259
case pullRequestCreationPolicy = "pull_request_creation_policy"
7279-
case hasCommitComments = "has_commit_comments"
72807260
case forksCount = "forks_count"
72817261
case mirrorUrl = "mirror_url"
72827262
case archived

0 commit comments

Comments
 (0)