From 67dc38b01494100ebe36c6fe0246990ccd45e4b2 Mon Sep 17 00:00:00 2001 From: Serhii Chvaliuk Date: Tue, 12 Jul 2022 16:17:19 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Source=20Github:=20improve=20sch?= =?UTF-8?q?ema=20for=20stream=20`pull=5Frequest=5Fcommits`=20added=20"null?= =?UTF-8?q?"=20(#14613)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sergey Chvalyuk --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- airbyte-config/init/src/main/resources/seed/source_specs.yaml | 2 +- airbyte-integrations/connectors/source-github/Dockerfile | 2 +- .../source_github/schemas/pull_request_commits.json | 4 ++-- docs/integrations/sources/github.md | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index 743039e4aaa1..f6aa846fb560 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -303,7 +303,7 @@ - name: GitHub sourceDefinitionId: ef69ef6e-aa7f-4af1-a01d-ef775033524e dockerRepository: airbyte/source-github - dockerImageTag: 0.2.41 + dockerImageTag: 0.2.42 documentationUrl: https://docs.airbyte.io/integrations/sources/github icon: github.svg sourceType: api diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index b19022c9e75e..007d03d30f31 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -2593,7 +2593,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-github:0.2.41" +- dockerImage: "airbyte/source-github:0.2.42" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/github" connectionSpecification: diff --git a/airbyte-integrations/connectors/source-github/Dockerfile b/airbyte-integrations/connectors/source-github/Dockerfile index eb616bf794cf..0f7ab1cb0223 100644 --- a/airbyte-integrations/connectors/source-github/Dockerfile +++ b/airbyte-integrations/connectors/source-github/Dockerfile @@ -12,5 +12,5 @@ RUN pip install . ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.2.41 +LABEL io.airbyte.version=0.2.42 LABEL io.airbyte.name=airbyte/source-github diff --git a/airbyte-integrations/connectors/source-github/source_github/schemas/pull_request_commits.json b/airbyte-integrations/connectors/source-github/source_github/schemas/pull_request_commits.json index 1c9db09c909b..0771e1305949 100644 --- a/airbyte-integrations/connectors/source-github/source_github/schemas/pull_request_commits.json +++ b/airbyte-integrations/connectors/source-github/source_github/schemas/pull_request_commits.json @@ -88,7 +88,7 @@ "type": ["null", "string"] }, "author": { - "type": "object", + "type": ["null", "object"], "properties": { "login": { "type": ["null", "string"] @@ -147,7 +147,7 @@ } }, "committer": { - "type": "object", + "type": ["null", "object"], "properties": { "login": { "type": ["null", "string"] diff --git a/docs/integrations/sources/github.md b/docs/integrations/sources/github.md index e0d7eb42113e..406dae6679fc 100644 --- a/docs/integrations/sources/github.md +++ b/docs/integrations/sources/github.md @@ -141,6 +141,7 @@ The GitHub connector should not run into GitHub API limitations under normal usa | Version | Date | Pull Request | Subject | |:--------|:-----------| :--- |:-------------------------------------------------------------------------------------------------------------| +| 0.2.42 | 2022-07-12 | [14613](https://github.com/airbytehq/airbyte/pull/14613) | Improve schema for stream `pull_request_commits` added "null" | | 0.2.41 | 2022-07-03 | [14376](https://github.com/airbytehq/airbyte/pull/14376) | Add Retry for GraphQL API Resource limitations | | 0.2.40 | 2022-07-01 | [14338](https://github.com/airbytehq/airbyte/pull/14338) | Revert: "Rename field `mergeable` to `is_mergeable`" | | 0.2.39 | 2022-06-30 | [14274](https://github.com/airbytehq/airbyte/pull/14274) | Rename field `mergeable` to `is_mergeable` |