github-schema 1.7.10 → 1.7.12
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 +63 -3
- package/dist/github-schema.d.ts +63 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/github-schema.graphql +84 -2
- 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
|
"""
|
|
@@ -20405,7 +20475,7 @@ Represents a member feature request notification
|
|
|
20405
20475
|
"""
|
|
20406
20476
|
type MemberFeatureRequestNotification implements Node {
|
|
20407
20477
|
"""
|
|
20408
|
-
Represents member feature request body containing
|
|
20478
|
+
Represents member feature request body containing entity name and the number of feature requests
|
|
20409
20479
|
"""
|
|
20410
20480
|
body: String!
|
|
20411
20481
|
|
|
@@ -46040,6 +46110,13 @@ enum RepositoryRuleType {
|
|
|
46040
46110
|
"""
|
|
46041
46111
|
BRANCH_NAME_PATTERN
|
|
46042
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
|
+
|
|
46043
46120
|
"""
|
|
46044
46121
|
Committer email pattern
|
|
46045
46122
|
"""
|
|
@@ -47796,7 +47873,7 @@ enum RuleEnforcement {
|
|
|
47796
47873
|
"""
|
|
47797
47874
|
Types which can be parameters for `RepositoryRule` objects.
|
|
47798
47875
|
"""
|
|
47799
|
-
union RuleParameters = BranchNamePatternParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
|
|
47876
|
+
union RuleParameters = BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters | CommitterEmailPatternParameters | FileExtensionRestrictionParameters | FilePathRestrictionParameters | MaxFilePathLengthParameters | MaxFileSizeParameters | PullRequestParameters | RequiredDeploymentsParameters | RequiredStatusChecksParameters | TagNamePatternParameters | UpdateParameters | WorkflowsParameters
|
|
47800
47877
|
|
|
47801
47878
|
"""
|
|
47802
47879
|
Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified.
|
|
@@ -47807,6 +47884,11 @@ input RuleParametersInput {
|
|
|
47807
47884
|
"""
|
|
47808
47885
|
branchNamePattern: BranchNamePatternParametersInput
|
|
47809
47886
|
|
|
47887
|
+
"""
|
|
47888
|
+
Parameters used for the `code_scanning` rule type
|
|
47889
|
+
"""
|
|
47890
|
+
codeScanning: CodeScanningParametersInput
|
|
47891
|
+
|
|
47810
47892
|
"""
|
|
47811
47893
|
Parameters used for the `commit_author_email_pattern` rule type
|
|
47812
47894
|
"""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-schema",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.12",
|
|
4
4
|
"description": "GitHub's GraphQL schema",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"email": "lucasnrgaard@gmail.com",
|
|
9
9
|
"url": "https://luxass.dev"
|
|
10
10
|
},
|
|
11
|
-
"packageManager": "pnpm@
|
|
11
|
+
"packageManager": "pnpm@9.0.6",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"homepage": "https://github.com/luxass/github-schema",
|
|
14
14
|
"repository": {
|