github-schema 1.7.9 → 1.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/github-schema.d.cts +408 -7
- package/dist/github-schema.d.ts +408 -7
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/github-schema.graphql +701 -3
- package/package.json +2 -2
package/github-schema.graphql
CHANGED
|
@@ -4279,6 +4279,76 @@ type CodeOfConduct implements Node {
|
|
|
4279
4279
|
url: URI
|
|
4280
4280
|
}
|
|
4281
4281
|
|
|
4282
|
+
"""
|
|
4283
|
+
Choose which tools must provide code scanning results before the reference is
|
|
4284
|
+
updated. When configured, code scanning must be enabled and have results for
|
|
4285
|
+
both the commit and the reference being updated.
|
|
4286
|
+
"""
|
|
4287
|
+
type CodeScanningParameters {
|
|
4288
|
+
"""
|
|
4289
|
+
Tools that must provide code scanning results for this rule to pass.
|
|
4290
|
+
"""
|
|
4291
|
+
codeScanningTools: [CodeScanningTool!]!
|
|
4292
|
+
}
|
|
4293
|
+
|
|
4294
|
+
"""
|
|
4295
|
+
Choose which tools must provide code scanning results before the reference is
|
|
4296
|
+
updated. When configured, code scanning must be enabled and have results for
|
|
4297
|
+
both the commit and the reference being updated.
|
|
4298
|
+
"""
|
|
4299
|
+
input CodeScanningParametersInput {
|
|
4300
|
+
"""
|
|
4301
|
+
Tools that must provide code scanning results for this rule to pass.
|
|
4302
|
+
"""
|
|
4303
|
+
codeScanningTools: [CodeScanningToolInput!]!
|
|
4304
|
+
}
|
|
4305
|
+
|
|
4306
|
+
"""
|
|
4307
|
+
A tool that must provide code scanning results for this rule to pass.
|
|
4308
|
+
"""
|
|
4309
|
+
type CodeScanningTool {
|
|
4310
|
+
"""
|
|
4311
|
+
The severity level at which code scanning results that raise alerts block a
|
|
4312
|
+
reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
|
|
4313
|
+
"""
|
|
4314
|
+
alertsThreshold: String!
|
|
4315
|
+
|
|
4316
|
+
"""
|
|
4317
|
+
The severity level at which code scanning results that raise security alerts
|
|
4318
|
+
block a reference update. For more information on security severity levels,
|
|
4319
|
+
see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
|
|
4320
|
+
"""
|
|
4321
|
+
securityAlertsThreshold: String!
|
|
4322
|
+
|
|
4323
|
+
"""
|
|
4324
|
+
The name of a code scanning tool
|
|
4325
|
+
"""
|
|
4326
|
+
tool: String!
|
|
4327
|
+
}
|
|
4328
|
+
|
|
4329
|
+
"""
|
|
4330
|
+
A tool that must provide code scanning results for this rule to pass.
|
|
4331
|
+
"""
|
|
4332
|
+
input CodeScanningToolInput {
|
|
4333
|
+
"""
|
|
4334
|
+
The severity level at which code scanning results that raise alerts block a
|
|
4335
|
+
reference update. For more information on alert severity levels, see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
|
|
4336
|
+
"""
|
|
4337
|
+
alertsThreshold: String!
|
|
4338
|
+
|
|
4339
|
+
"""
|
|
4340
|
+
The severity level at which code scanning results that raise security alerts
|
|
4341
|
+
block a reference update. For more information on security severity levels,
|
|
4342
|
+
see "[About code scanning alerts](${externalDocsUrl}/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)."
|
|
4343
|
+
"""
|
|
4344
|
+
securityAlertsThreshold: String!
|
|
4345
|
+
|
|
4346
|
+
"""
|
|
4347
|
+
The name of a code scanning tool
|
|
4348
|
+
"""
|
|
4349
|
+
tool: String!
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4282
4352
|
"""
|
|
4283
4353
|
Collaborators affiliation level with a subject.
|
|
4284
4354
|
"""
|
|
@@ -7005,6 +7075,141 @@ type CreateCommitOnBranchPayload {
|
|
|
7005
7075
|
ref: Ref
|
|
7006
7076
|
}
|
|
7007
7077
|
|
|
7078
|
+
"""
|
|
7079
|
+
Autogenerated input type of CreateDeployment
|
|
7080
|
+
"""
|
|
7081
|
+
input CreateDeploymentInput {
|
|
7082
|
+
"""
|
|
7083
|
+
Attempt to automatically merge the default branch into the requested ref, defaults to true.
|
|
7084
|
+
"""
|
|
7085
|
+
autoMerge: Boolean = true
|
|
7086
|
+
|
|
7087
|
+
"""
|
|
7088
|
+
A unique identifier for the client performing the mutation.
|
|
7089
|
+
"""
|
|
7090
|
+
clientMutationId: String
|
|
7091
|
+
|
|
7092
|
+
"""
|
|
7093
|
+
Short description of the deployment.
|
|
7094
|
+
"""
|
|
7095
|
+
description: String = ""
|
|
7096
|
+
|
|
7097
|
+
"""
|
|
7098
|
+
Name for the target deployment environment.
|
|
7099
|
+
"""
|
|
7100
|
+
environment: String = "production"
|
|
7101
|
+
|
|
7102
|
+
"""
|
|
7103
|
+
JSON payload with extra information about the deployment.
|
|
7104
|
+
"""
|
|
7105
|
+
payload: String = "{}"
|
|
7106
|
+
|
|
7107
|
+
"""
|
|
7108
|
+
The node ID of the ref to be deployed.
|
|
7109
|
+
"""
|
|
7110
|
+
refId: ID!
|
|
7111
|
+
|
|
7112
|
+
"""
|
|
7113
|
+
The node ID of the repository.
|
|
7114
|
+
"""
|
|
7115
|
+
repositoryId: ID!
|
|
7116
|
+
|
|
7117
|
+
"""
|
|
7118
|
+
The status contexts to verify against commit status checks. To bypass required
|
|
7119
|
+
contexts, pass an empty array. Defaults to all unique contexts.
|
|
7120
|
+
"""
|
|
7121
|
+
requiredContexts: [String!]
|
|
7122
|
+
|
|
7123
|
+
"""
|
|
7124
|
+
Specifies a task to execute.
|
|
7125
|
+
"""
|
|
7126
|
+
task: String = "deploy"
|
|
7127
|
+
}
|
|
7128
|
+
|
|
7129
|
+
"""
|
|
7130
|
+
Autogenerated return type of CreateDeployment
|
|
7131
|
+
"""
|
|
7132
|
+
type CreateDeploymentPayload {
|
|
7133
|
+
"""
|
|
7134
|
+
True if the default branch has been auto-merged into the deployment ref.
|
|
7135
|
+
"""
|
|
7136
|
+
autoMerged: Boolean
|
|
7137
|
+
|
|
7138
|
+
"""
|
|
7139
|
+
A unique identifier for the client performing the mutation.
|
|
7140
|
+
"""
|
|
7141
|
+
clientMutationId: String
|
|
7142
|
+
|
|
7143
|
+
"""
|
|
7144
|
+
The new deployment.
|
|
7145
|
+
"""
|
|
7146
|
+
deployment: Deployment
|
|
7147
|
+
}
|
|
7148
|
+
|
|
7149
|
+
"""
|
|
7150
|
+
Autogenerated input type of CreateDeploymentStatus
|
|
7151
|
+
"""
|
|
7152
|
+
input CreateDeploymentStatusInput {
|
|
7153
|
+
"""
|
|
7154
|
+
Adds a new inactive status to all non-transient, non-production environment
|
|
7155
|
+
deployments with the same repository and environment name as the created
|
|
7156
|
+
status's deployment.
|
|
7157
|
+
"""
|
|
7158
|
+
autoInactive: Boolean = true
|
|
7159
|
+
|
|
7160
|
+
"""
|
|
7161
|
+
A unique identifier for the client performing the mutation.
|
|
7162
|
+
"""
|
|
7163
|
+
clientMutationId: String
|
|
7164
|
+
|
|
7165
|
+
"""
|
|
7166
|
+
The node ID of the deployment.
|
|
7167
|
+
"""
|
|
7168
|
+
deploymentId: ID!
|
|
7169
|
+
|
|
7170
|
+
"""
|
|
7171
|
+
A short description of the status. Maximum length of 140 characters.
|
|
7172
|
+
"""
|
|
7173
|
+
description: String = ""
|
|
7174
|
+
|
|
7175
|
+
"""
|
|
7176
|
+
If provided, updates the environment of the deploy. Otherwise, does not modify the environment.
|
|
7177
|
+
"""
|
|
7178
|
+
environment: String
|
|
7179
|
+
|
|
7180
|
+
"""
|
|
7181
|
+
Sets the URL for accessing your environment.
|
|
7182
|
+
"""
|
|
7183
|
+
environmentUrl: String = ""
|
|
7184
|
+
|
|
7185
|
+
"""
|
|
7186
|
+
The log URL to associate with this status. This URL should contain
|
|
7187
|
+
output to keep the user updated while the task is running or serve as
|
|
7188
|
+
historical information for what happened in the deployment.
|
|
7189
|
+
"""
|
|
7190
|
+
logUrl: String = ""
|
|
7191
|
+
|
|
7192
|
+
"""
|
|
7193
|
+
The state of the deployment.
|
|
7194
|
+
"""
|
|
7195
|
+
state: DeploymentStatusState!
|
|
7196
|
+
}
|
|
7197
|
+
|
|
7198
|
+
"""
|
|
7199
|
+
Autogenerated return type of CreateDeploymentStatus
|
|
7200
|
+
"""
|
|
7201
|
+
type CreateDeploymentStatusPayload {
|
|
7202
|
+
"""
|
|
7203
|
+
A unique identifier for the client performing the mutation.
|
|
7204
|
+
"""
|
|
7205
|
+
clientMutationId: String
|
|
7206
|
+
|
|
7207
|
+
"""
|
|
7208
|
+
The new deployment status.
|
|
7209
|
+
"""
|
|
7210
|
+
deploymentStatus: DeploymentStatus
|
|
7211
|
+
}
|
|
7212
|
+
|
|
7008
7213
|
"""
|
|
7009
7214
|
Autogenerated input type of CreateDiscussion
|
|
7010
7215
|
"""
|
|
@@ -9627,6 +9832,81 @@ type DependabotUpdateError {
|
|
|
9627
9832
|
title: String!
|
|
9628
9833
|
}
|
|
9629
9834
|
|
|
9835
|
+
"""
|
|
9836
|
+
A dependency manifest entry
|
|
9837
|
+
"""
|
|
9838
|
+
type DependencyGraphDependency {
|
|
9839
|
+
"""
|
|
9840
|
+
Does the dependency itself have dependencies?
|
|
9841
|
+
"""
|
|
9842
|
+
hasDependencies: Boolean!
|
|
9843
|
+
|
|
9844
|
+
"""
|
|
9845
|
+
The original name of the package, as it appears in the manifest.
|
|
9846
|
+
"""
|
|
9847
|
+
packageLabel: String! @deprecated(reason: "`packageLabel` will be removed. Use normalized `packageName` field instead. Removal on 2022-10-01 UTC.")
|
|
9848
|
+
|
|
9849
|
+
"""
|
|
9850
|
+
The dependency package manager
|
|
9851
|
+
"""
|
|
9852
|
+
packageManager: String
|
|
9853
|
+
|
|
9854
|
+
"""
|
|
9855
|
+
The name of the package in the canonical form used by the package manager.
|
|
9856
|
+
"""
|
|
9857
|
+
packageName: String!
|
|
9858
|
+
|
|
9859
|
+
"""
|
|
9860
|
+
The repository containing the package
|
|
9861
|
+
"""
|
|
9862
|
+
repository: Repository
|
|
9863
|
+
|
|
9864
|
+
"""
|
|
9865
|
+
The dependency version requirements
|
|
9866
|
+
"""
|
|
9867
|
+
requirements: String!
|
|
9868
|
+
}
|
|
9869
|
+
|
|
9870
|
+
"""
|
|
9871
|
+
The connection type for DependencyGraphDependency.
|
|
9872
|
+
"""
|
|
9873
|
+
type DependencyGraphDependencyConnection {
|
|
9874
|
+
"""
|
|
9875
|
+
A list of edges.
|
|
9876
|
+
"""
|
|
9877
|
+
edges: [DependencyGraphDependencyEdge]
|
|
9878
|
+
|
|
9879
|
+
"""
|
|
9880
|
+
A list of nodes.
|
|
9881
|
+
"""
|
|
9882
|
+
nodes: [DependencyGraphDependency]
|
|
9883
|
+
|
|
9884
|
+
"""
|
|
9885
|
+
Information to aid in pagination.
|
|
9886
|
+
"""
|
|
9887
|
+
pageInfo: PageInfo!
|
|
9888
|
+
|
|
9889
|
+
"""
|
|
9890
|
+
Identifies the total count of items in the connection.
|
|
9891
|
+
"""
|
|
9892
|
+
totalCount: Int!
|
|
9893
|
+
}
|
|
9894
|
+
|
|
9895
|
+
"""
|
|
9896
|
+
An edge in a connection.
|
|
9897
|
+
"""
|
|
9898
|
+
type DependencyGraphDependencyEdge {
|
|
9899
|
+
"""
|
|
9900
|
+
A cursor for use in pagination.
|
|
9901
|
+
"""
|
|
9902
|
+
cursor: String!
|
|
9903
|
+
|
|
9904
|
+
"""
|
|
9905
|
+
The item at the end of the edge.
|
|
9906
|
+
"""
|
|
9907
|
+
node: DependencyGraphDependency
|
|
9908
|
+
}
|
|
9909
|
+
|
|
9630
9910
|
"""
|
|
9631
9911
|
The possible ecosystems of a dependency graph package.
|
|
9632
9912
|
"""
|
|
@@ -9687,6 +9967,111 @@ enum DependencyGraphEcosystem {
|
|
|
9687
9967
|
SWIFT
|
|
9688
9968
|
}
|
|
9689
9969
|
|
|
9970
|
+
"""
|
|
9971
|
+
Dependency manifest for a repository
|
|
9972
|
+
"""
|
|
9973
|
+
type DependencyGraphManifest implements Node {
|
|
9974
|
+
"""
|
|
9975
|
+
Path to view the manifest file blob
|
|
9976
|
+
"""
|
|
9977
|
+
blobPath: String!
|
|
9978
|
+
|
|
9979
|
+
"""
|
|
9980
|
+
A list of manifest dependencies
|
|
9981
|
+
"""
|
|
9982
|
+
dependencies(
|
|
9983
|
+
"""
|
|
9984
|
+
Returns the elements in the list that come after the specified cursor.
|
|
9985
|
+
"""
|
|
9986
|
+
after: String
|
|
9987
|
+
|
|
9988
|
+
"""
|
|
9989
|
+
Returns the elements in the list that come before the specified cursor.
|
|
9990
|
+
"""
|
|
9991
|
+
before: String
|
|
9992
|
+
|
|
9993
|
+
"""
|
|
9994
|
+
Returns the first _n_ elements from the list.
|
|
9995
|
+
"""
|
|
9996
|
+
first: Int
|
|
9997
|
+
|
|
9998
|
+
"""
|
|
9999
|
+
Returns the last _n_ elements from the list.
|
|
10000
|
+
"""
|
|
10001
|
+
last: Int
|
|
10002
|
+
): DependencyGraphDependencyConnection
|
|
10003
|
+
|
|
10004
|
+
"""
|
|
10005
|
+
The number of dependencies listed in the manifest
|
|
10006
|
+
"""
|
|
10007
|
+
dependenciesCount: Int
|
|
10008
|
+
|
|
10009
|
+
"""
|
|
10010
|
+
Is the manifest too big to parse?
|
|
10011
|
+
"""
|
|
10012
|
+
exceedsMaxSize: Boolean!
|
|
10013
|
+
|
|
10014
|
+
"""
|
|
10015
|
+
Fully qualified manifest filename
|
|
10016
|
+
"""
|
|
10017
|
+
filename: String!
|
|
10018
|
+
|
|
10019
|
+
"""
|
|
10020
|
+
The Node ID of the DependencyGraphManifest object
|
|
10021
|
+
"""
|
|
10022
|
+
id: ID!
|
|
10023
|
+
|
|
10024
|
+
"""
|
|
10025
|
+
Were we able to parse the manifest?
|
|
10026
|
+
"""
|
|
10027
|
+
parseable: Boolean!
|
|
10028
|
+
|
|
10029
|
+
"""
|
|
10030
|
+
The repository containing the manifest
|
|
10031
|
+
"""
|
|
10032
|
+
repository: Repository!
|
|
10033
|
+
}
|
|
10034
|
+
|
|
10035
|
+
"""
|
|
10036
|
+
The connection type for DependencyGraphManifest.
|
|
10037
|
+
"""
|
|
10038
|
+
type DependencyGraphManifestConnection {
|
|
10039
|
+
"""
|
|
10040
|
+
A list of edges.
|
|
10041
|
+
"""
|
|
10042
|
+
edges: [DependencyGraphManifestEdge]
|
|
10043
|
+
|
|
10044
|
+
"""
|
|
10045
|
+
A list of nodes.
|
|
10046
|
+
"""
|
|
10047
|
+
nodes: [DependencyGraphManifest]
|
|
10048
|
+
|
|
10049
|
+
"""
|
|
10050
|
+
Information to aid in pagination.
|
|
10051
|
+
"""
|
|
10052
|
+
pageInfo: PageInfo!
|
|
10053
|
+
|
|
10054
|
+
"""
|
|
10055
|
+
Identifies the total count of items in the connection.
|
|
10056
|
+
"""
|
|
10057
|
+
totalCount: Int!
|
|
10058
|
+
}
|
|
10059
|
+
|
|
10060
|
+
"""
|
|
10061
|
+
An edge in a connection.
|
|
10062
|
+
"""
|
|
10063
|
+
type DependencyGraphManifestEdge {
|
|
10064
|
+
"""
|
|
10065
|
+
A cursor for use in pagination.
|
|
10066
|
+
"""
|
|
10067
|
+
cursor: String!
|
|
10068
|
+
|
|
10069
|
+
"""
|
|
10070
|
+
The item at the end of the edge.
|
|
10071
|
+
"""
|
|
10072
|
+
node: DependencyGraphManifest
|
|
10073
|
+
}
|
|
10074
|
+
|
|
9690
10075
|
"""
|
|
9691
10076
|
A repository deploy key.
|
|
9692
10077
|
"""
|
|
@@ -10446,6 +10831,11 @@ type DeploymentStatus implements Node {
|
|
|
10446
10831
|
"""
|
|
10447
10832
|
description: String
|
|
10448
10833
|
|
|
10834
|
+
"""
|
|
10835
|
+
Identifies the environment of the deployment at the time of this deployment status
|
|
10836
|
+
"""
|
|
10837
|
+
environment: String
|
|
10838
|
+
|
|
10449
10839
|
"""
|
|
10450
10840
|
Identifies the environment URL of the deployment.
|
|
10451
10841
|
"""
|
|
@@ -15423,6 +15813,50 @@ input FileDeletion {
|
|
|
15423
15813
|
path: String!
|
|
15424
15814
|
}
|
|
15425
15815
|
|
|
15816
|
+
"""
|
|
15817
|
+
Prevent commits that include files with specified file extensions from being
|
|
15818
|
+
pushed to the commit graph. NOTE: This rule is in beta and subject to change
|
|
15819
|
+
"""
|
|
15820
|
+
type FileExtensionRestrictionParameters {
|
|
15821
|
+
"""
|
|
15822
|
+
The file extensions that are restricted from being pushed to the commit graph.
|
|
15823
|
+
"""
|
|
15824
|
+
restrictedFileExtensions: [String!]!
|
|
15825
|
+
}
|
|
15826
|
+
|
|
15827
|
+
"""
|
|
15828
|
+
Prevent commits that include files with specified file extensions from being
|
|
15829
|
+
pushed to the commit graph. NOTE: This rule is in beta and subject to change
|
|
15830
|
+
"""
|
|
15831
|
+
input FileExtensionRestrictionParametersInput {
|
|
15832
|
+
"""
|
|
15833
|
+
The file extensions that are restricted from being pushed to the commit graph.
|
|
15834
|
+
"""
|
|
15835
|
+
restrictedFileExtensions: [String!]!
|
|
15836
|
+
}
|
|
15837
|
+
|
|
15838
|
+
"""
|
|
15839
|
+
Prevent commits that include changes in specified file paths from being pushed
|
|
15840
|
+
to the commit graph. NOTE: This rule is in beta and subject to change
|
|
15841
|
+
"""
|
|
15842
|
+
type FilePathRestrictionParameters {
|
|
15843
|
+
"""
|
|
15844
|
+
The file paths that are restricted from being pushed to the commit graph.
|
|
15845
|
+
"""
|
|
15846
|
+
restrictedFilePaths: [String!]!
|
|
15847
|
+
}
|
|
15848
|
+
|
|
15849
|
+
"""
|
|
15850
|
+
Prevent commits that include changes in specified file paths from being pushed
|
|
15851
|
+
to the commit graph. NOTE: This rule is in beta and subject to change
|
|
15852
|
+
"""
|
|
15853
|
+
input FilePathRestrictionParametersInput {
|
|
15854
|
+
"""
|
|
15855
|
+
The file paths that are restricted from being pushed to the commit graph.
|
|
15856
|
+
"""
|
|
15857
|
+
restrictedFilePaths: [String!]!
|
|
15858
|
+
}
|
|
15859
|
+
|
|
15426
15860
|
"""
|
|
15427
15861
|
The possible viewed states of a file .
|
|
15428
15862
|
"""
|
|
@@ -16305,6 +16739,11 @@ A Git object ID.
|
|
|
16305
16739
|
"""
|
|
16306
16740
|
scalar GitObjectID
|
|
16307
16741
|
|
|
16742
|
+
"""
|
|
16743
|
+
A fully qualified reference name (e.g. `refs/heads/master`).
|
|
16744
|
+
"""
|
|
16745
|
+
scalar GitRefname
|
|
16746
|
+
|
|
16308
16747
|
"""
|
|
16309
16748
|
Git SSH string
|
|
16310
16749
|
"""
|
|
@@ -19987,6 +20426,50 @@ type MarketplaceListingEdge {
|
|
|
19987
20426
|
node: MarketplaceListing
|
|
19988
20427
|
}
|
|
19989
20428
|
|
|
20429
|
+
"""
|
|
20430
|
+
Prevent commits that include file paths that exceed a specified character limit
|
|
20431
|
+
from being pushed to the commit graph. NOTE: This rule is in beta and subject to change
|
|
20432
|
+
"""
|
|
20433
|
+
type MaxFilePathLengthParameters {
|
|
20434
|
+
"""
|
|
20435
|
+
The maximum amount of characters allowed in file paths
|
|
20436
|
+
"""
|
|
20437
|
+
maxFilePathLength: Int!
|
|
20438
|
+
}
|
|
20439
|
+
|
|
20440
|
+
"""
|
|
20441
|
+
Prevent commits that include file paths that exceed a specified character limit
|
|
20442
|
+
from being pushed to the commit graph. NOTE: This rule is in beta and subject to change
|
|
20443
|
+
"""
|
|
20444
|
+
input MaxFilePathLengthParametersInput {
|
|
20445
|
+
"""
|
|
20446
|
+
The maximum amount of characters allowed in file paths
|
|
20447
|
+
"""
|
|
20448
|
+
maxFilePathLength: Int!
|
|
20449
|
+
}
|
|
20450
|
+
|
|
20451
|
+
"""
|
|
20452
|
+
Prevent commits that exceed a specified file size limit from being pushed to the
|
|
20453
|
+
commit. NOTE: This rule is in beta and subject to change
|
|
20454
|
+
"""
|
|
20455
|
+
type MaxFileSizeParameters {
|
|
20456
|
+
"""
|
|
20457
|
+
The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).
|
|
20458
|
+
"""
|
|
20459
|
+
maxFileSize: Int!
|
|
20460
|
+
}
|
|
20461
|
+
|
|
20462
|
+
"""
|
|
20463
|
+
Prevent commits that exceed a specified file size limit from being pushed to the
|
|
20464
|
+
commit. NOTE: This rule is in beta and subject to change
|
|
20465
|
+
"""
|
|
20466
|
+
input MaxFileSizeParametersInput {
|
|
20467
|
+
"""
|
|
20468
|
+
The maximum file size allowed in megabytes. This limit does not apply to Git Large File Storage (Git LFS).
|
|
20469
|
+
"""
|
|
20470
|
+
maxFileSize: Int!
|
|
20471
|
+
}
|
|
20472
|
+
|
|
19990
20473
|
"""
|
|
19991
20474
|
Represents a member feature request notification
|
|
19992
20475
|
"""
|
|
@@ -22048,6 +22531,26 @@ type Mutation {
|
|
|
22048
22531
|
input: CreateCommitOnBranchInput!
|
|
22049
22532
|
): CreateCommitOnBranchPayload
|
|
22050
22533
|
|
|
22534
|
+
"""
|
|
22535
|
+
Creates a new deployment event.
|
|
22536
|
+
"""
|
|
22537
|
+
createDeployment(
|
|
22538
|
+
"""
|
|
22539
|
+
Parameters for CreateDeployment
|
|
22540
|
+
"""
|
|
22541
|
+
input: CreateDeploymentInput!
|
|
22542
|
+
): CreateDeploymentPayload
|
|
22543
|
+
|
|
22544
|
+
"""
|
|
22545
|
+
Create a deployment status.
|
|
22546
|
+
"""
|
|
22547
|
+
createDeploymentStatus(
|
|
22548
|
+
"""
|
|
22549
|
+
Parameters for CreateDeploymentStatus
|
|
22550
|
+
"""
|
|
22551
|
+
input: CreateDeploymentStatusInput!
|
|
22552
|
+
): CreateDeploymentStatusPayload
|
|
22553
|
+
|
|
22051
22554
|
"""
|
|
22052
22555
|
Create a discussion.
|
|
22053
22556
|
"""
|
|
@@ -23779,6 +24282,33 @@ type Mutation {
|
|
|
23779
24282
|
input: UpdateRefInput!
|
|
23780
24283
|
): UpdateRefPayload
|
|
23781
24284
|
|
|
24285
|
+
"""
|
|
24286
|
+
Creates, updates and/or deletes multiple refs in a repository.
|
|
24287
|
+
|
|
24288
|
+
This mutation takes a list of `RefUpdate`s and performs these updates
|
|
24289
|
+
on the repository. All updates are performed atomically, meaning that
|
|
24290
|
+
if one of them is rejected, no other ref will be modified.
|
|
24291
|
+
|
|
24292
|
+
`RefUpdate.beforeOid` specifies that the given reference needs to point
|
|
24293
|
+
to the given value before performing any updates. A value of
|
|
24294
|
+
`0000000000000000000000000000000000000000` can be used to verify that
|
|
24295
|
+
the references should not exist.
|
|
24296
|
+
|
|
24297
|
+
`RefUpdate.afterOid` specifies the value that the given reference
|
|
24298
|
+
will point to after performing all updates. A value of
|
|
24299
|
+
`0000000000000000000000000000000000000000` can be used to delete a
|
|
24300
|
+
reference.
|
|
24301
|
+
|
|
24302
|
+
If `RefUpdate.force` is set to `true`, a non-fast-forward updates
|
|
24303
|
+
for the given reference will be allowed.
|
|
24304
|
+
"""
|
|
24305
|
+
updateRefs(
|
|
24306
|
+
"""
|
|
24307
|
+
Parameters for UpdateRefs
|
|
24308
|
+
"""
|
|
24309
|
+
input: UpdateRefsInput!
|
|
24310
|
+
): UpdateRefsPayload
|
|
24311
|
+
|
|
23782
24312
|
"""
|
|
23783
24313
|
Update information about a repository.
|
|
23784
24314
|
"""
|
|
@@ -38796,6 +39326,31 @@ enum RefOrderField {
|
|
|
38796
39326
|
TAG_COMMIT_DATE
|
|
38797
39327
|
}
|
|
38798
39328
|
|
|
39329
|
+
"""
|
|
39330
|
+
A ref update
|
|
39331
|
+
"""
|
|
39332
|
+
input RefUpdate {
|
|
39333
|
+
"""
|
|
39334
|
+
The value this ref should be updated to.
|
|
39335
|
+
"""
|
|
39336
|
+
afterOid: GitObjectID!
|
|
39337
|
+
|
|
39338
|
+
"""
|
|
39339
|
+
The value this ref needs to point to before the update.
|
|
39340
|
+
"""
|
|
39341
|
+
beforeOid: GitObjectID
|
|
39342
|
+
|
|
39343
|
+
"""
|
|
39344
|
+
Force a non fast-forward update.
|
|
39345
|
+
"""
|
|
39346
|
+
force: Boolean = false
|
|
39347
|
+
|
|
39348
|
+
"""
|
|
39349
|
+
The fully qualified name of the ref to be update. For example `refs/heads/branch-name`
|
|
39350
|
+
"""
|
|
39351
|
+
name: GitRefname!
|
|
39352
|
+
}
|
|
39353
|
+
|
|
38799
39354
|
"""
|
|
38800
39355
|
Branch protection rules that are enforced on the viewer.
|
|
38801
39356
|
"""
|
|
@@ -42656,6 +43211,46 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
|
|
|
42656
43211
|
"""
|
|
42657
43212
|
deleteBranchOnMerge: Boolean!
|
|
42658
43213
|
|
|
43214
|
+
"""
|
|
43215
|
+
A list of dependency manifests contained in the repository
|
|
43216
|
+
"""
|
|
43217
|
+
dependencyGraphManifests(
|
|
43218
|
+
"""
|
|
43219
|
+
Returns the elements in the list that come after the specified cursor.
|
|
43220
|
+
"""
|
|
43221
|
+
after: String
|
|
43222
|
+
|
|
43223
|
+
"""
|
|
43224
|
+
Returns the elements in the list that come before the specified cursor.
|
|
43225
|
+
"""
|
|
43226
|
+
before: String
|
|
43227
|
+
|
|
43228
|
+
"""
|
|
43229
|
+
Cursor to paginate dependencies
|
|
43230
|
+
"""
|
|
43231
|
+
dependenciesAfter: String
|
|
43232
|
+
|
|
43233
|
+
"""
|
|
43234
|
+
Number of dependencies to fetch
|
|
43235
|
+
"""
|
|
43236
|
+
dependenciesFirst: Int
|
|
43237
|
+
|
|
43238
|
+
"""
|
|
43239
|
+
Returns the first _n_ elements from the list.
|
|
43240
|
+
"""
|
|
43241
|
+
first: Int
|
|
43242
|
+
|
|
43243
|
+
"""
|
|
43244
|
+
Returns the last _n_ elements from the list.
|
|
43245
|
+
"""
|
|
43246
|
+
last: Int
|
|
43247
|
+
|
|
43248
|
+
"""
|
|
43249
|
+
Flag to scope to only manifests with dependencies
|
|
43250
|
+
"""
|
|
43251
|
+
withDependencies: Boolean
|
|
43252
|
+
): DependencyGraphManifestConnection
|
|
43253
|
+
|
|
42659
43254
|
"""
|
|
42660
43255
|
A list of deploy keys that are on this repository.
|
|
42661
43256
|
"""
|
|
@@ -45515,6 +46110,13 @@ enum RepositoryRuleType {
|
|
|
45515
46110
|
"""
|
|
45516
46111
|
BRANCH_NAME_PATTERN
|
|
45517
46112
|
|
|
46113
|
+
"""
|
|
46114
|
+
Choose which tools must provide code scanning results before the reference is
|
|
46115
|
+
updated. When configured, code scanning must be enabled and have results for
|
|
46116
|
+
both the commit and the reference being updated.
|
|
46117
|
+
"""
|
|
46118
|
+
CODE_SCANNING
|
|
46119
|
+
|
|
45518
46120
|
"""
|
|
45519
46121
|
Committer email pattern
|
|
45520
46122
|
"""
|
|
@@ -45540,11 +46142,36 @@ enum RepositoryRuleType {
|
|
|
45540
46142
|
"""
|
|
45541
46143
|
DELETION
|
|
45542
46144
|
|
|
46145
|
+
"""
|
|
46146
|
+
Prevent commits that include files with specified file extensions from being
|
|
46147
|
+
pushed to the commit graph. NOTE: Thie rule is in beta and subject to change
|
|
46148
|
+
"""
|
|
46149
|
+
FILE_EXTENSION_RESTRICTION
|
|
46150
|
+
|
|
46151
|
+
"""
|
|
46152
|
+
Prevent commits that include changes in specified file paths from being pushed
|
|
46153
|
+
to the commit graph. NOTE: Thie rule is in beta and subject to change
|
|
46154
|
+
"""
|
|
46155
|
+
FILE_PATH_RESTRICTION
|
|
46156
|
+
|
|
45543
46157
|
"""
|
|
45544
46158
|
Branch is read-only. Users cannot push to the branch.
|
|
45545
46159
|
"""
|
|
45546
46160
|
LOCK_BRANCH
|
|
45547
46161
|
|
|
46162
|
+
"""
|
|
46163
|
+
Prevent commits that include file paths that exceed a specified character
|
|
46164
|
+
limit from being pushed to the commit graph. NOTE: Thie rule is in beta and
|
|
46165
|
+
subject to change
|
|
46166
|
+
"""
|
|
46167
|
+
MAX_FILE_PATH_LENGTH
|
|
46168
|
+
|
|
46169
|
+
"""
|
|
46170
|
+
Prevent commits that exceed a specified file size limit from being pushed to
|
|
46171
|
+
the commit. NOTE: Thie rule is in beta and subject to change
|
|
46172
|
+
"""
|
|
46173
|
+
MAX_FILE_SIZE
|
|
46174
|
+
|
|
45548
46175
|
"""
|
|
45549
46176
|
Max ref updates
|
|
45550
46177
|
"""
|
|
@@ -45753,6 +46380,11 @@ type RepositoryRulesetBypassActor implements Node {
|
|
|
45753
46380
|
"""
|
|
45754
46381
|
bypassMode: RepositoryRulesetBypassActorBypassMode
|
|
45755
46382
|
|
|
46383
|
+
"""
|
|
46384
|
+
This actor represents the ability for a deploy key to bypass
|
|
46385
|
+
"""
|
|
46386
|
+
deployKey: Boolean!
|
|
46387
|
+
|
|
45756
46388
|
"""
|
|
45757
46389
|
The Node ID of the RepositoryRulesetBypassActor object
|
|
45758
46390
|
"""
|
|
@@ -45836,7 +46468,8 @@ type RepositoryRulesetBypassActorEdge {
|
|
|
45836
46468
|
|
|
45837
46469
|
"""
|
|
45838
46470
|
Specifies the attributes for a new or updated ruleset bypass actor. Only one of
|
|
45839
|
-
`actor_id`, `repository_role_database_id`, or `
|
|
46471
|
+
`actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key`
|
|
46472
|
+
should be specified.
|
|
45840
46473
|
"""
|
|
45841
46474
|
input RepositoryRulesetBypassActorInput {
|
|
45842
46475
|
"""
|
|
@@ -45849,6 +46482,11 @@ input RepositoryRulesetBypassActorInput {
|
|
|
45849
46482
|
"""
|
|
45850
46483
|
bypassMode: RepositoryRulesetBypassActorBypassMode!
|
|
45851
46484
|
|
|
46485
|
+
"""
|
|
46486
|
+
For deploy key bypasses, true. Can only use ALWAYS as the bypass mode
|
|
46487
|
+
"""
|
|
46488
|
+
deployKey: Boolean
|
|
46489
|
+
|
|
45852
46490
|
"""
|
|
45853
46491
|
For organization owner bypasses, true
|
|
45854
46492
|
"""
|
|
@@ -45901,7 +46539,7 @@ type RepositoryRulesetEdge {
|
|
|
45901
46539
|
}
|
|
45902
46540
|
|
|
45903
46541
|
"""
|
|
45904
|
-
The targets supported for rulesets
|
|
46542
|
+
The targets supported for rulesets. NOTE: The push target is in beta and subject to change.
|
|
45905
46543
|
"""
|
|
45906
46544
|
enum RepositoryRulesetTarget {
|
|
45907
46545
|
"""
|
|
@@ -45909,6 +46547,11 @@ enum RepositoryRulesetTarget {
|
|
|
45909
46547
|
"""
|
|
45910
46548
|
BRANCH
|
|
45911
46549
|
|
|
46550
|
+
"""
|
|
46551
|
+
Push
|
|
46552
|
+
"""
|
|
46553
|
+
PUSH
|
|
46554
|
+
|
|
45912
46555
|
"""
|
|
45913
46556
|
Tag
|
|
45914
46557
|
"""
|
|
@@ -47230,7 +47873,7 @@ enum RuleEnforcement {
|
|
|
47230
47873
|
"""
|
|
47231
47874
|
Types which can be parameters for `RepositoryRule` objects.
|
|
47232
47875
|
"""
|
|
47233
|
-
union RuleParameters = BranchNamePatternParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
|
|
47876
|
+
union RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
|
|
47234
47877
|
|
|
47235
47878
|
"""
|
|
47236
47879
|
Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified.
|
|
@@ -47241,6 +47884,11 @@ input RuleParametersInput {
|
|
|
47241
47884
|
"""
|
|
47242
47885
|
branchNamePattern: BranchNamePatternParametersInput
|
|
47243
47886
|
|
|
47887
|
+
"""
|
|
47888
|
+
Parameters used for the `code_scanning` rule type
|
|
47889
|
+
"""
|
|
47890
|
+
codeScanning: CodeScanningParametersInput
|
|
47891
|
+
|
|
47244
47892
|
"""
|
|
47245
47893
|
Parameters used for the `commit_author_email_pattern` rule type
|
|
47246
47894
|
"""
|
|
@@ -47256,6 +47904,26 @@ input RuleParametersInput {
|
|
|
47256
47904
|
"""
|
|
47257
47905
|
committerEmailPattern: CommitterEmailPatternParametersInput
|
|
47258
47906
|
|
|
47907
|
+
"""
|
|
47908
|
+
Parameters used for the `file_extension_restriction` rule type
|
|
47909
|
+
"""
|
|
47910
|
+
fileExtensionRestriction: FileExtensionRestrictionParametersInput
|
|
47911
|
+
|
|
47912
|
+
"""
|
|
47913
|
+
Parameters used for the `file_path_restriction` rule type
|
|
47914
|
+
"""
|
|
47915
|
+
filePathRestriction: FilePathRestrictionParametersInput
|
|
47916
|
+
|
|
47917
|
+
"""
|
|
47918
|
+
Parameters used for the `max_file_path_length` rule type
|
|
47919
|
+
"""
|
|
47920
|
+
maxFilePathLength: MaxFilePathLengthParametersInput
|
|
47921
|
+
|
|
47922
|
+
"""
|
|
47923
|
+
Parameters used for the `max_file_size` rule type
|
|
47924
|
+
"""
|
|
47925
|
+
maxFileSize: MaxFileSizeParametersInput
|
|
47926
|
+
|
|
47259
47927
|
"""
|
|
47260
47928
|
Parameters used for the `pull_request` rule type
|
|
47261
47929
|
"""
|
|
@@ -57857,6 +58525,36 @@ type UpdateRefPayload {
|
|
|
57857
58525
|
ref: Ref
|
|
57858
58526
|
}
|
|
57859
58527
|
|
|
58528
|
+
"""
|
|
58529
|
+
Autogenerated input type of UpdateRefs
|
|
58530
|
+
"""
|
|
58531
|
+
input UpdateRefsInput {
|
|
58532
|
+
"""
|
|
58533
|
+
A unique identifier for the client performing the mutation.
|
|
58534
|
+
"""
|
|
58535
|
+
clientMutationId: String
|
|
58536
|
+
|
|
58537
|
+
"""
|
|
58538
|
+
A list of ref updates.
|
|
58539
|
+
"""
|
|
58540
|
+
refUpdates: [RefUpdate!]!
|
|
58541
|
+
|
|
58542
|
+
"""
|
|
58543
|
+
The Node ID of the repository.
|
|
58544
|
+
"""
|
|
58545
|
+
repositoryId: ID!
|
|
58546
|
+
}
|
|
58547
|
+
|
|
58548
|
+
"""
|
|
58549
|
+
Autogenerated return type of UpdateRefs
|
|
58550
|
+
"""
|
|
58551
|
+
type UpdateRefsPayload {
|
|
58552
|
+
"""
|
|
58553
|
+
A unique identifier for the client performing the mutation.
|
|
58554
|
+
"""
|
|
58555
|
+
clientMutationId: String
|
|
58556
|
+
}
|
|
58557
|
+
|
|
57860
58558
|
"""
|
|
57861
58559
|
Autogenerated input type of UpdateRepository
|
|
57862
58560
|
"""
|