Skip to content

Commit 67333aa

Browse files
authored
🎉 Source Github: bugfix schemas for streams deployments, workflow_runs, teams (#15049)
Signed-off-by: Sergey Chvalyuk <[email protected]>
1 parent cbdb897 commit 67333aa

File tree

7 files changed

+25
-6
lines changed

7 files changed

+25
-6
lines changed

‎airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
- name: GitHub
304304
sourceDefinitionId: ef69ef6e-aa7f-4af1-a01d-ef775033524e
305305
dockerRepository: airbyte/source-github
306-
dockerImageTag: 0.2.42
306+
dockerImageTag: 0.2.43
307307
documentationUrl: https://docs.airbyte.io/integrations/sources/github
308308
icon: github.svg
309309
sourceType: api

‎airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,7 @@
25952595
supportsNormalization: false
25962596
supportsDBT: false
25972597
supported_destination_sync_modes: []
2598-
- dockerImage: "airbyte/source-github:0.2.42"
2598+
- dockerImage: "airbyte/source-github:0.2.43"
25992599
spec:
26002600
documentationUrl: "https://docs.airbyte.com/integrations/sources/github"
26012601
connectionSpecification:

‎airbyte-integrations/connectors/source-github/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.2.42
15+
LABEL io.airbyte.version=0.2.43
1616
LABEL io.airbyte.name=airbyte/source-github

‎airbyte-integrations/connectors/source-github/source_github/schemas/deployments.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,19 @@
103103
"type": ["null", "string"]
104104
},
105105
"payload": {
106-
"type": ["null", "string", "object"]
106+
"oneOf": [
107+
{
108+
"type": "object",
109+
"properties": {},
110+
"additionalProperties": true
111+
},
112+
{
113+
"type": "string"
114+
},
115+
{
116+
"type": "null"
117+
}
118+
]
107119
},
108120
"transient_environment": {
109121
"type": ["null", "boolean"]

‎airbyte-integrations/connectors/source-github/source_github/schemas/teams.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
"type": ["null", "string"]
4343
},
4444
"parent": {
45-
"type": ["null", "object"]
45+
"type": ["null", "object"],
46+
"properties": {},
47+
"additionalProperties": true
4648
}
4749
}
4850
}

‎airbyte-integrations/connectors/source-github/source_github/schemas/workflow_runs.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@
4646
},
4747
"pull_requests": {
4848
"type": "array",
49-
"items": {}
49+
"items": {
50+
"type": ["null", "object"],
51+
"properties": {},
52+
"additionalProperties": true
53+
}
5054
},
5155
"created_at": {
5256
"type": ["null", "string"]

‎docs/integrations/sources/github.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ The GitHub connector should not run into GitHub API limitations under normal usa
141141

142142
| Version | Date | Pull Request | Subject |
143143
|:--------|:-----------| :--- |:-------------------------------------------------------------------------------------------------------------|
144+
| 0.2.43 | 2022-07-26 | [15049](https://github.com/airbytehq/airbyte/pull/15049) | Bugfix schemas for streams `deployments`, `workflow_runs`, `teams` |
144145
| 0.2.42 | 2022-07-12 | [14613](https://github.com/airbytehq/airbyte/pull/14613) | Improve schema for stream `pull_request_commits` added "null" |
145146
| 0.2.41 | 2022-07-03 | [14376](https://github.com/airbytehq/airbyte/pull/14376) | Add Retry for GraphQL API Resource limitations |
146147
| 0.2.40 | 2022-07-01 | [14338](https://github.com/airbytehq/airbyte/pull/14338) | Revert: "Rename field `mergeable` to `is_mergeable`" |

0 commit comments

Comments
 (0)