diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 2a56392dc9c7..3e06aafe8eba 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -17947,6 +17947,12 @@ interface Migration { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ @@ -36172,6 +36178,12 @@ type RepositoryMigration implements Migration & Node { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 543d58a3813f..46ee4b855ec0 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -20579,6 +20579,12 @@ interface Migration { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ @@ -43623,6 +43629,12 @@ type RepositoryMigration implements Migration & Node { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 543d58a3813f..46ee4b855ec0 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -20579,6 +20579,12 @@ interface Migration { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ @@ -43623,6 +43629,12 @@ type RepositoryMigration implements Migration & Node { The migration state. """ state: MigrationState! + + """ + The number of warnings encountered for this migration. To review the warnings, + check the [Migration Log](https://docs.github.com/en/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer). + """ + warningsCount: Int! } """ diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 713f46d589bd..220cacd620a2 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,18 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Field warningsCount was added to interface Migration

", + "

Field warningsCount was added to object type RepositoryMigration

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2023-05-31" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 1eb9bee8de1d..d838ec038a17 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -60156,6 +60156,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] }, @@ -74654,6 +74662,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] }, diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index 01031702170f..98d9d2496e41 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -50498,6 +50498,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] }, @@ -62432,6 +62440,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] }, diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 1eb9bee8de1d..d838ec038a17 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -60156,6 +60156,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] }, @@ -74654,6 +74662,14 @@ "id": "migrationstate", "kind": "enums", "href": "/graphql/reference/enums#migrationstate" + }, + { + "name": "warningsCount", + "description": "

The number of warnings encountered for this migration. To review the warnings,\ncheck the Migration Log.

", + "type": "Int!", + "id": "int", + "kind": "scalars", + "href": "/graphql/reference/scalars#int" } ] },