diff --git a/airbyte-integrations/connectors/source-github/integration_tests/expected_records.jsonl b/airbyte-integrations/connectors/source-github/integration_tests/expected_records.jsonl index f2cc5cdef9d9..8a9f03a3f05d 100644 --- a/airbyte-integrations/connectors/source-github/integration_tests/expected_records.jsonl +++ b/airbyte-integrations/connectors/source-github/integration_tests/expected_records.jsonl @@ -1,6 +1,6 @@ {"stream":"assignees","data":{"login":"AirbyteEricksson","id":101604444,"node_id":"U_kgDOBg5cXA","avatar_url":"https://avatars.githubusercontent.com/u/101604444?v=4","gravatar_id":"","url":"https://api.github.com/users/AirbyteEricksson","html_url":"https://github.com/AirbyteEricksson","followers_url":"https://api.github.com/users/AirbyteEricksson/followers","following_url":"https://api.github.com/users/AirbyteEricksson/following{/other_user}","gists_url":"https://api.github.com/users/AirbyteEricksson/gists{/gist_id}","starred_url":"https://api.github.com/users/AirbyteEricksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AirbyteEricksson/subscriptions","organizations_url":"https://api.github.com/users/AirbyteEricksson/orgs","repos_url":"https://api.github.com/users/AirbyteEricksson/repos","events_url":"https://api.github.com/users/AirbyteEricksson/events{/privacy}","received_events_url":"https://api.github.com/users/AirbyteEricksson/received_events","type":"User","site_admin":false,"repository":"airbytehq/integration-test"},"emitted_at":1677668743181} -{"stream":"branches","data":{"name":"feature/branch_0","commit":{"sha":"cbbeaf3ef6eb7217052eae2fe665f655e3813973","url":"https://api.github.com/repos/airbytehq/integration-test/commits/cbbeaf3ef6eb7217052eae2fe665f655e3813973"},"protected":false,"repository":"airbytehq/integration-test"},"emitted_at":1677668743768} -{"stream":"collaborators","data":{"login": "octavia-approvington", "id": 117117241, "node_id": "U_kgDOBvsROQ", "avatar_url": "https://avatars.githubusercontent.com/u/117117241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/octavia-approvington", "html_url": "https://github.com/octavia-approvington", "followers_url": "https://api.github.com/users/octavia-approvington/followers", "following_url": "https://api.github.com/users/octavia-approvington/following{/other_user}", "gists_url": "https://api.github.com/users/octavia-approvington/gists{/gist_id}", "starred_url": "https://api.github.com/users/octavia-approvington/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/octavia-approvington/subscriptions", "organizations_url": "https://api.github.com/users/octavia-approvington/orgs", "repos_url": "https://api.github.com/users/octavia-approvington/repos", "events_url": "https://api.github.com/users/octavia-approvington/events{/privacy}", "received_events_url": "https://api.github.com/users/octavia-approvington/received_events", "type": "User", "site_admin": false, "permissions": {"admin": false, "maintain": false, "push": true, "triage": true, "pull": true}, "role_name": "write", "repository": "airbytehq/integration-test"},"emitted_at":1677668744171} +{"stream":"branches", "data": {"name": "feature/branch_0", "commit": {"sha": "cbbeaf3ef6eb7217052eae2fe665f655e3813973", "url": "https://api.github.com/repos/airbytehq/integration-test/commits/cbbeaf3ef6eb7217052eae2fe665f655e3813973"}, "protected": false, "protection": {"enabled": false, "required_status_checks": {"enforcement_level": "off", "contexts": [], "checks": []}}, "protection_url": "https://api.github.com/repos/airbytehq/integration-test/branches/feature/branch_0/protection", "repository": "airbytehq/integration-test"}, "emitted_at": 1707933365457} +{"stream":"collaborators","data":{"login": "octavia-approvington", "id": 117117241, "node_id": "U_kgDOBvsROQ", "avatar_url": "https://avatars.githubusercontent.com/u/117117241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/octavia-approvington", "html_url": "https://github.com/octavia-approvington", "followers_url": "https://api.github.com/users/octavia-approvington/followers", "following_url": "https://api.github.com/users/octavia-approvington/following{/other_user}", "gists_url": "https://api.github.com/users/octavia-approvington/gists{/gist_id}", "starred_url": "https://api.github.com/users/octavia-approvington/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/octavia-approvington/subscriptions", "organizations_url": "https://api.github.com/users/octavia-approvington/orgs", "repos_url": "https://api.github.com/users/octavia-approvington/repos", "events_url": "https://api.github.com/users/octavia-approvington/events{/privacy}", "received_events_url": "https://api.github.com/users/octavia-approvington/received_events", "type": "User", "site_admin": false, "permissions": {"admin": true, "maintain": true, "push": true, "triage": true, "pull": true}, "role_name": "admin", "repository": "airbytehq/integration-test"},"emitted_at":1677668744171} {"stream":"comments","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296167","html_url":"https://github.com/airbytehq/integration-test/issues/6#issuecomment-907296167","issue_url":"https://api.github.com/repos/airbytehq/integration-test/issues/6","id":907296167,"node_id":"IC_kwDOF9hP9c42FD2n","user":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"created_at":"2021-08-27T15:43:59Z","updated_at":"2021-08-27T15:43:59Z","author_association":"CONTRIBUTOR","body":"comment for issues https://api.github.com/repos/airbytehq/integration-test/issues/6/comments","reactions":{"url":"https://api.github.com/repos/airbytehq/integration-test/issues/comments/907296167/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"repository":"airbytehq/integration-test"},"emitted_at":1677668744803} {"stream":"commit_comment_reactions","data":{"id":154935429,"node_id":"REA_lADOF9hP9c4DT3SJzgk8IIU","user":{"login":"grubberr","id":195743,"node_id":"MDQ6VXNlcjE5NTc0Mw==","avatar_url":"https://avatars.githubusercontent.com/u/195743?v=4","gravatar_id":"","url":"https://api.github.com/users/grubberr","html_url":"https://github.com/grubberr","followers_url":"https://api.github.com/users/grubberr/followers","following_url":"https://api.github.com/users/grubberr/following{/other_user}","gists_url":"https://api.github.com/users/grubberr/gists{/gist_id}","starred_url":"https://api.github.com/users/grubberr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grubberr/subscriptions","organizations_url":"https://api.github.com/users/grubberr/orgs","repos_url":"https://api.github.com/users/grubberr/repos","events_url":"https://api.github.com/users/grubberr/events{/privacy}","received_events_url":"https://api.github.com/users/grubberr/received_events","type":"User","site_admin":false},"content":"laugh","created_at":"2022-03-20T11:29:29Z","repository":"airbytehq/integration-test","comment_id":55538825},"emitted_at":1677668746490} {"stream":"commit_comments","data":{"url":"https://api.github.com/repos/airbytehq/integration-test/comments/55538825","html_url":"https://github.com/airbytehq/integration-test/commit/cbbeaf3ef6eb7217052eae2fe665f655e3813973#commitcomment-55538825","id":55538825,"node_id":"MDEzOkNvbW1pdENvbW1lbnQ1NTUzODgyNQ==","user":{"login":"gaart","id":743901,"node_id":"MDQ6VXNlcjc0MzkwMQ==","avatar_url":"https://avatars.githubusercontent.com/u/743901?v=4","gravatar_id":"","url":"https://api.github.com/users/gaart","html_url":"https://github.com/gaart","followers_url":"https://api.github.com/users/gaart/followers","following_url":"https://api.github.com/users/gaart/following{/other_user}","gists_url":"https://api.github.com/users/gaart/gists{/gist_id}","starred_url":"https://api.github.com/users/gaart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaart/subscriptions","organizations_url":"https://api.github.com/users/gaart/orgs","repos_url":"https://api.github.com/users/gaart/repos","events_url":"https://api.github.com/users/gaart/events{/privacy}","received_events_url":"https://api.github.com/users/gaart/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"cbbeaf3ef6eb7217052eae2fe665f655e3813973","created_at":"2021-08-27T15:43:32Z","updated_at":"2021-08-27T15:43:32Z","author_association":"CONTRIBUTOR","body":"comment for cbbeaf3ef6eb7217052eae2fe665f655e3813973 branch","reactions":{"url":"https://api.github.com/repos/airbytehq/integration-test/comments/55538825/reactions","total_count":2,"+1":0,"-1":0,"laugh":1,"hooray":0,"confused":0,"heart":1,"rocket":0,"eyes":0},"repository":"airbytehq/integration-test"},"emitted_at":1677668747441} diff --git a/airbyte-integrations/connectors/source-github/metadata.yaml b/airbyte-integrations/connectors/source-github/metadata.yaml index fea5aec6e9b7..9ff2bc163d6a 100644 --- a/airbyte-integrations/connectors/source-github/metadata.yaml +++ b/airbyte-integrations/connectors/source-github/metadata.yaml @@ -10,7 +10,7 @@ data: connectorSubtype: api connectorType: source definitionId: ef69ef6e-aa7f-4af1-a01d-ef775033524e - dockerImageTag: 1.6.2 + dockerImageTag: 1.6.3 dockerRepository: airbyte/source-github documentationUrl: https://docs.airbyte.com/integrations/sources/github githubIssueLabel: source-github diff --git a/airbyte-integrations/connectors/source-github/source_github/schemas/branches.json b/airbyte-integrations/connectors/source-github/source_github/schemas/branches.json index 20363364aa4c..f8eb185d30da 100644 --- a/airbyte-integrations/connectors/source-github/source_github/schemas/branches.json +++ b/airbyte-integrations/connectors/source-github/source_github/schemas/branches.json @@ -25,6 +25,9 @@ "protection": { "type": ["null", "object"], "properties": { + "enabled": { + "type": ["null", "boolean"] + }, "required_status_checks": { "type": ["null", "object"], "properties": { @@ -36,6 +39,20 @@ "items": { "type": ["null", "string"] } + }, + "checks": { + "type": ["null", "array"], + "items": { + "type": "object", + "properties": { + "context": { + "type": ["null", "string"] + }, + "app_id": { + "type": ["null", "integer"] + } + } + } } } } diff --git a/docs/integrations/sources/github.md b/docs/integrations/sources/github.md index be162756fc6d..03d20e32b24a 100644 --- a/docs/integrations/sources/github.md +++ b/docs/integrations/sources/github.md @@ -207,6 +207,7 @@ Your token should have at least the `repo` scope. Depending on which streams you | Version | Date | Pull Request | Subject | |:--------|:-----------|:------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 1.6.3 | 2024-02-15 | [35271](https://github.com/airbytehq/airbyte/pull/35271) | Update branches schema | | 1.6.2 | 2024-02-12 | [34933](https://github.com/airbytehq/airbyte/pull/34933) | Update Airbyte CDK for integration tests | | 1.6.1 | 2024-02-09 | [35087](https://github.com/airbytehq/airbyte/pull/35087) | Manage dependencies with Poetry. | | 1.6.0 | 2024-02-02 | [34700](https://github.com/airbytehq/airbyte/pull/34700) | Continue Sync on Stream failure |