From ff1b5de3e7ad22bba4941484bd5723b561374f98 Mon Sep 17 00:00:00 2001 From: anilb Date: Tue, 23 May 2023 15:35:22 +0200 Subject: [PATCH 1/8] issue closed support, sourceIds fixed for webhook pr events --- .../integrations/githubIntegrationService.ts | 96 +++++++++++++++---- .../usecases/github/graphql/issues.ts | 12 +++ 2 files changed, 92 insertions(+), 16 deletions(-) diff --git a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts index a17df7146e..f13eb1f4e0 100644 --- a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts +++ b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts @@ -906,7 +906,7 @@ export class GithubIntegrationService extends IntegrationServiceBase { timestamp = payload.pull_request.closed_at sourceParentId = payload.pull_request.node_id.toString() sourceId = `gen-CE_${payload.pull_request.node_id.toString()}_${ - payload.pull_request.user.login + payload.sender.login }_${moment(payload.pull_request.closed_at).utc().toISOString()}` break } @@ -916,11 +916,9 @@ export class GithubIntegrationService extends IntegrationServiceBase { scoreGrid = GitHubGrid.pullRequestAssigned timestamp = payload.pull_request.updated_at sourceParentId = payload.pull_request.node_id.toString() - sourceId = `gen-AE_${payload.pull_request.node_id.toString()}_${ - payload.pull_request.user.login - }_${payload.pull_request.assignee.login}_${moment(payload.pull_request.updated_at) - .utc() - .toISOString()}` + sourceId = `gen-AE_${payload.pull_request.node_id.toString()}_${payload.sender.login}_${ + payload.pull_request.assignee.login + }_${moment(payload.pull_request.updated_at).utc().toISOString()}` objectMember = await GithubIntegrationService.parseWebhookMember( payload.pull_request.assignee.login, context, @@ -934,11 +932,9 @@ export class GithubIntegrationService extends IntegrationServiceBase { scoreGrid = GitHubGrid.pullRequestReviewRequested timestamp = payload.pull_request.updated_at sourceParentId = payload.pull_request.node_id.toString() - sourceId = `gen-RRE_${payload.pull_request.node_id.toString()}_${ - payload.pull_request.user.login - }_${payload.requested_reviewer.login}_${moment(payload.pull_request.updated_at) - .utc() - .toISOString()}` + sourceId = `gen-RRE_${payload.pull_request.node_id.toString()}_${payload.sender.login}_${ + payload.requested_reviewer.login + }_${moment(payload.pull_request.updated_at).utc().toISOString()}` objectMember = await GithubIntegrationService.parseWebhookMember( payload.requested_reviewer.login, context, @@ -1425,6 +1421,10 @@ export class GithubIntegrationService extends IntegrationServiceBase { let type: GithubActivityType let scoreGrid: gridEntry let timestamp: string + let sourceId: string + let sourceParentId: string + let body: string = '' + let title: string = '' switch (payload.action) { case 'edited': @@ -1433,12 +1433,22 @@ export class GithubIntegrationService extends IntegrationServiceBase { type = GithubActivityType.ISSUE_OPENED scoreGrid = GitHubGrid.issueOpened timestamp = payload.issue.created_at + sourceParentId = null + sourceId = payload.issue.node_id.toString() + body = payload.issue.body + title = payload.issue.title break case 'closed': type = GithubActivityType.ISSUE_CLOSED scoreGrid = GitHubGrid.issueClosed timestamp = payload.issue.closed_at + sourceParentId = payload.issue.node_id.toString() + sourceId = `gen-CE_${payload.issue.node_id.toString()}_${payload.sender.login}_${moment( + payload.issue.closed_at, + ) + .utc() + .toISOString()}` break default: @@ -1446,7 +1456,7 @@ export class GithubIntegrationService extends IntegrationServiceBase { } const issue = payload.issue - const member = await GithubIntegrationService.parseWebhookMember(issue.user.login, context) + const member = await GithubIntegrationService.parseWebhookMember(payload.sender.login, context) if (member) { return { @@ -1456,12 +1466,12 @@ export class GithubIntegrationService extends IntegrationServiceBase { timestamp: moment(timestamp).utc().toDate(), platform: PlatformType.GITHUB, tenant: context.integration.tenantId, - sourceId: issue.node_id.toString(), - sourceParentId: null, + sourceId, + sourceParentId, url: issue.html_url, - title: issue.title, + title, channel: payload.repository.html_url, - body: issue.body, + body, attributes: { state: issue.state, }, @@ -1501,11 +1511,65 @@ export class GithubIntegrationService extends IntegrationServiceBase { score: GitHubGrid.issueOpened.score, isContribution: GitHubGrid.issueOpened.isContribution, }) + + // parse issue events + out.push( + ...(await GithubIntegrationService.parseIssueEvents( + record.timelineItems.nodes, + out[out.length - 1], + context, + )), + ) } return out } + private static async parseIssueEvents( + records: any[], + issue: AddActivitiesSingle, + context: IStepContext, + ): Promise { + const out: AddActivitiesSingle[] = [] + + for (const record of records) { + switch (record.__typename) { + case GithubPullRequestEvents.CLOSE: + if (record.actor.login) { + const member = await GithubIntegrationService.parseMember(record.actor, context) + out.push({ + username: member.username[PlatformType.GITHUB].username, + tenant: context.integration.tenantId, + platform: PlatformType.GITHUB, + type: GithubActivityType.ISSUE_CLOSED, + sourceId: `gen-CE_${issue.sourceId}_${record.actor.login}_${moment(record.createdAt) + .utc() + .toISOString()}`, + sourceParentId: issue.sourceId, + timestamp: moment(record.createdAt).utc().toDate(), + body: '', + url: issue.url, + channel: issue.channel, + title: '', + attributes: { + state: (issue.attributes as any).state, + }, + member, + score: GitHubGrid.issueClosed.score, + isContribution: GitHubGrid.issueClosed.isContribution, + }) + } + + break + default: + context.logger.warn( + `Unsupported issue event: ${record.__typename}. This event will not be parsed.`, + ) + } + } + return out + } + private static async parseIssueComments( records: any[], repo: Repo, diff --git a/backend/src/serverless/integrations/usecases/github/graphql/issues.ts b/backend/src/serverless/integrations/usecases/github/graphql/issues.ts index 9454e48183..0219425848 100644 --- a/backend/src/serverless/integrations/usecases/github/graphql/issues.ts +++ b/backend/src/serverless/integrations/usecases/github/graphql/issues.ts @@ -21,6 +21,18 @@ class IssuesQuery extends BaseQuery { url createdAt number + timelineItems(first: 100, itemTypes: [CLOSED_EVENT]) { + nodes { + ... on ClosedEvent { + __typename + id + actor { + ... on User ${BaseQuery.USER_SELECT} + } + createdAt + } + } + } } } } From c8359b6332493abe01ae19d7bea17789ab748273 Mon Sep 17 00:00:00 2001 From: anilb Date: Wed, 24 May 2023 15:16:24 +0200 Subject: [PATCH 2/8] refactored teams and multiple reviewers in github webhooks --- .../integrations/githubIntegrationService.ts | 75 +++++-------------- 1 file changed, 20 insertions(+), 55 deletions(-) diff --git a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts index f13eb1f4e0..d86a666309 100644 --- a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts +++ b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts @@ -380,61 +380,23 @@ export class GithubIntegrationService extends IntegrationServiceBase { } case 'pull_request': { - // handle case of multiple reviewers (either by assigning a team to it, or with multiple selection in one go) - if ( - payload.action === 'review_requested' && - (payload.pull_request.requested_reviewers.length > 0 || - payload.pull_request.requested_teams.length > 0) - ) { - if (payload.pull_request.requested_reviewers.length > 0) { - // multiple reviewers sent in one payload - for (const reviewer of payload.pull_request.requested_reviewers) { - const reviewRequestActivity = await GithubIntegrationService.parseWebhookPullRequest( - { ...payload, requested_reviewer: reviewer }, - context, - ) - - if (reviewRequestActivity) { - records.push(reviewRequestActivity) - } - } - } else if (payload.pull_request.requested_teams.length > 0) { - // a team sent as reviewer, first we need to find members in this team - for (const team of payload.pull_request.requested_teams as GithubWebhookTeam[]) { - const teamMembers = await new TeamsQuery( - team.node_id, - context.integration.token, - ).getSinglePage('') - - for (const teamMember of teamMembers.data) { - const reviewRequestActivity = - await GithubIntegrationService.parseWebhookPullRequest( - { ...payload, requested_reviewer: teamMember }, - context, - ) - - if (reviewRequestActivity) { - records.push(reviewRequestActivity) - } - } - } - } - - break - } - - // handle case of multiple assignees - if (payload.action === 'assigned' && payload.pull_request.assignees.length > 0) { - for (const assignee of payload.pull_request.assignees) { - payload.pull_request.assignee = assignee - - const assignedActivity = await GithubIntegrationService.parseWebhookPullRequest( - payload, + // handle case of multiple reviewers (by assigning a team as a reviewer) + if (payload.action === 'review_requested' && payload.requested_team) { + // a team sent as reviewer, first we need to find members in this team + const team: GithubWebhookTeam = payload.requested_team + const teamMembers = await new TeamsQuery( + team.node_id, + context.integration.token, + ).getSinglePage('') + + for (const teamMember of teamMembers.data) { + const reviewRequestActivity = await GithubIntegrationService.parseWebhookPullRequest( + { ...payload, requested_reviewer: teamMember }, context, ) - if (assignedActivity) { - records.push(assignedActivity) + if (reviewRequestActivity) { + records.push(reviewRequestActivity) } } @@ -442,8 +404,11 @@ export class GithubIntegrationService extends IntegrationServiceBase { } if (payload.action === 'closed' && payload.pull_request.merged) { + const revisedPayload = { ...payload, action: 'merged' } + revisedPayload.pull_request.state = 'merged' + const prMergedRecord = await GithubIntegrationService.parseWebhookPullRequest( - { ...payload, action: 'merged' }, + revisedPayload, context, ) if (prMergedRecord) { @@ -917,10 +882,10 @@ export class GithubIntegrationService extends IntegrationServiceBase { timestamp = payload.pull_request.updated_at sourceParentId = payload.pull_request.node_id.toString() sourceId = `gen-AE_${payload.pull_request.node_id.toString()}_${payload.sender.login}_${ - payload.pull_request.assignee.login + payload.assignee.login }_${moment(payload.pull_request.updated_at).utc().toISOString()}` objectMember = await GithubIntegrationService.parseWebhookMember( - payload.pull_request.assignee.login, + payload.assignee.login, context, ) objectMemberUsername = objectMember.username[PlatformType.GITHUB].username From 8a25a1b9638c53a7e237ccf0c497a71edff179fb Mon Sep 17 00:00:00 2001 From: anilb Date: Wed, 24 May 2023 15:27:41 +0200 Subject: [PATCH 3/8] pr review state added to activity attributes --- .../services/integrations/githubIntegrationService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts index d86a666309..d2b9b88700 100644 --- a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts +++ b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts @@ -827,6 +827,7 @@ export class GithubIntegrationService extends IntegrationServiceBase { score: scoreGrid.score, isContribution: scoreGrid.isContribution, attributes: { + reviewState: (payload.review?.state as string).toUpperCase(), state: pull.state, authorAssociation: pull.author_association, labels: pull.labels.map((l) => l.name), @@ -1107,6 +1108,7 @@ export class GithubIntegrationService extends IntegrationServiceBase { channel: pullRequest.channel, title: '', attributes: { + reviewState: record.state, state: (pullRequest.attributes as any).state, additions: (pullRequest.attributes as any).additions, deletions: (pullRequest.attributes as any).deletions, From ad5c5a5008ea5cc4014a718630b972990c98cf0e Mon Sep 17 00:00:00 2001 From: anilb Date: Thu, 25 May 2023 09:58:06 +0200 Subject: [PATCH 4/8] channel fixed for pr review comments --- .../services/integrations/githubIntegrationService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts index d2b9b88700..517a7ae9b5 100644 --- a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts +++ b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts @@ -1219,7 +1219,7 @@ export class GithubIntegrationService extends IntegrationServiceBase { timestamp: moment(record.createdAt).utc().toDate(), body: record.bodyText, url: record.url, - channel: record.pullRequest.url, + channel: repo.url, title: '', attributes: { state: record.pullRequest.state.toLowerCase(), From fbea0a2ebbe62a39c4a1a42b6a4260fea8d6216d Mon Sep 17 00:00:00 2001 From: anilb Date: Thu, 25 May 2023 12:37:45 +0200 Subject: [PATCH 5/8] webhook tests for pr events --- .../integrations/githubIntegrationService.ts | 6 +- .../integrations/webhooks/__tests__/events.ts | 5465 +++++++++++++---- .../webhooks/__tests__/github.test.ts | 254 +- 3 files changed, 4691 insertions(+), 1034 deletions(-) diff --git a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts index 517a7ae9b5..c284d25735 100644 --- a/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts +++ b/backend/src/serverless/integrations/services/integrations/githubIntegrationService.ts @@ -796,8 +796,8 @@ export class GithubIntegrationService extends IntegrationServiceBase { timestamp = payload.review.submitted_at sourceParentId = payload.pull_request.node_id.toString() sourceId = `gen-PRR_${payload.pull_request.node_id.toString()}_${ - payload.review.user.login - }_${payload.review.submitted_at}` + payload.sender.login + }_${moment(payload.review.submitted_at).utc().toISOString()}` body = payload.review.body break } @@ -808,7 +808,7 @@ export class GithubIntegrationService extends IntegrationServiceBase { const review = payload.review const pull = payload.pull_request - const member = await GithubIntegrationService.parseWebhookMember(review.user.login, context) + const member = await GithubIntegrationService.parseWebhookMember(payload.sender.login, context) if (member) { return { diff --git a/backend/src/serverless/integrations/webhooks/__tests__/events.ts b/backend/src/serverless/integrations/webhooks/__tests__/events.ts index c2d72c17d7..d736d70c8a 100644 --- a/backend/src/serverless/integrations/webhooks/__tests__/events.ts +++ b/backend/src/serverless/integrations/webhooks/__tests__/events.ts @@ -847,6 +847,1370 @@ export default class TestEvents { }, } + static pullRequestReviews = { + event: 'pull_request_review', + submitted: { + action: 'submitted', + review: { + id: 1420752578, + node_id: 'PRR_kwDOHksjGM5UrvbC', + user: { + login: 'epipav', + id: 12017738, + node_id: 'MDQ6VXNlcjEyMDE3NzM4', + avatar_url: 'https://avatars.githubusercontent.com/u/12017738?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/epipav', + html_url: 'https://github.com/epipav', + followers_url: 'https://api.github.com/users/epipav/followers', + following_url: 'https://api.github.com/users/epipav/following{/other_user}', + gists_url: 'https://api.github.com/users/epipav/gists{/gist_id}', + starred_url: 'https://api.github.com/users/epipav/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/epipav/subscriptions', + organizations_url: 'https://api.github.com/users/epipav/orgs', + repos_url: 'https://api.github.com/users/epipav/repos', + events_url: 'https://api.github.com/users/epipav/events{/privacy}', + received_events_url: 'https://api.github.com/users/epipav/received_events', + type: 'User', + site_admin: false, + }, + body: '', + commit_id: '22db2e60206ee7445e457685367407f540553e50', + submitted_at: '2023-05-10T14:15:24Z', + state: 'approved', + html_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/843#pullrequestreview-1420752578', + pull_request_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843', + author_association: 'CONTRIBUTOR', + _links: { + html: { + href: 'https://github.com/CrowdDotDev/crowd.dev/pull/843#pullrequestreview-1420752578', + }, + pull_request: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843', + }, + }, + }, + pull_request: { + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843', + id: 1344074031, + node_id: 'PR_kwDOHksjGM5QHPEv', + html_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/843', + diff_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/843.diff', + patch_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/843.patch', + issue_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/843', + number: 843, + state: 'open', + locked: false, + title: 'Fix custom activity type filter', + user: { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, + }, + body: '# Changes proposed āœļø\r\nBug: Due to this previous change ([PR](https://github.com/CrowdDotDev/crowd.dev/pull/823/files#diff-987f06572bad79c47ef62d518a7a4e419dda775d942d365da55dc5509acf5291R44)), the `activityType` and `platform` were being stored in lowerCase in all activities. However, in the settings object it remained with the original value. So currently there is an inconsistency between custom activity type keys in activities and settings.\r\nTo fix this I\'m lowerCasing custom activity type and platform keys on their creation and migrating the existing ones to lowerCase as well.\r\n\r\nExample of problem:\r\nTenant settings:\r\n```\r\n{\r\n "Conference": {\r\n "Registered to a conference": {\r\n "display": {\r\n "short": "Registered to a conference",\r\n "channel": "",\r\n "default": "Registered to a conference"\r\n },\r\n "isContribution": false\r\n },\r\n },\r\n "other": {\r\n "This is a test": {\r\n "display": {\r\n "short": "This is a test",\r\n "channel": "",\r\n "default": "This is a test"\r\n },\r\n "isContribution": false\r\n }\r\n }\r\n}\r\n```\r\nActivity payload:\r\n`platform` and `activityType` fields:\r\n```\r\nplatform: \'luma\',\r\nactivityType: \'registered to a conference\'\r\n\r\nor\r\n\r\nplatform: \'other\',\r\nactivityType: \'this is a test\'\r\n```\r\n\r\nWith these changes the activity payload should remain the same but the tenant settings should be fixed to:\r\n```\r\n{\r\n "conference": {\r\n "registered to a conference": {\r\n "display": {\r\n "short": "Registered to a conference",\r\n "channel": "",\r\n "default": "Registered to a conference"\r\n },\r\n "isContribution": false\r\n },\r\n },\r\n "other": {\r\n "this is a test": {\r\n "display": {\r\n "short": "This is a test",\r\n "channel": "",\r\n "default": "This is a test"\r\n },\r\n "isContribution": false\r\n }\r\n }\r\n}\r\n```\r\n\r\n### What\r\n\r\n### šŸ¤– Generated by Copilot at b11dfa1\r\n\r\nThe pull request standardizes the keys for custom activity types to use lowercase in the `settings` table and the `SettingsService` class. This avoids case sensitivity issues and improves data consistency across the application.\r\n​\r\n\r\n### šŸ¤– Generated by Copilot at b11dfa1\r\n\r\n> _`customActivityTypes`_\r\n> _Lowercase keys for all seasons_\r\n> _`typeKey` follows_\r\n\r\n### Why\r\n\r\n\r\n### How\r\n\r\n### šŸ¤– Generated by Copilot at b11dfa1\r\n\r\n* Standardize the keys for custom activity types to use lowercase in the database and the service layer ([link](https://github.com/CrowdDotDev/crowd.dev/pull/843/files?diff=unified&w=0#diff-a9626422cfa5c6888ed594d5114bffc0c4113699b7f39d1c4c456da8bd72c812L1-R13), [link](https://github.com/CrowdDotDev/crowd.dev/pull/843/files?diff=unified&w=0#diff-2908c7bb18ca4494942ee153161abc5555bdd9516fc2d225a406d785b5787711L24-R24))\r\n* Update the `customActivityTypes` column in the `settings` table using the SQL script `V1683627959__customActivityTypesKeys.sql` ([link](https://github.com/CrowdDotDev/crowd.dev/pull/843/files?diff=unified&w=0#diff-a9626422cfa5c6888ed594d5114bffc0c4113699b7f39d1c4c456da8bd72c812L1-R13))\r\n* Modify the `typeKey` variable in the `SettingsService` class to match the database format ([link](https://github.com/CrowdDotDev/crowd.dev/pull/843/files?diff=unified&w=0#diff-2908c7bb18ca4494942ee153161abc5555bdd9516fc2d225a406d785b5787711L24-R24))\r\n\r\n## Checklist āœ…\r\n- [x] Label appropriately with `Feature`, `Improvement`, or `Bug`.\r\n- [ ] Add screehshots to the PR description for relevant FE changes\r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)).\r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met.\r\n', + created_at: '2023-05-09T16:52:03Z', + updated_at: '2023-05-10T14:15:25Z', + closed_at: null, + merged_at: null, + merge_commit_sha: '358d960c38d27bb9377ff2ed71f2a416433656c8', + assignee: { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, + }, + assignees: [ + { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, + }, + ], + requested_reviewers: [ + { + login: 'joanreyero', + id: 37874460, + node_id: 'MDQ6VXNlcjM3ODc0NDYw', + avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanreyero', + html_url: 'https://github.com/joanreyero', + followers_url: 'https://api.github.com/users/joanreyero/followers', + following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', + gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', + organizations_url: 'https://api.github.com/users/joanreyero/orgs', + repos_url: 'https://api.github.com/users/joanreyero/repos', + events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanreyero/received_events', + type: 'User', + site_admin: false, + }, + ], + requested_teams: [], + labels: [], + milestone: null, + draft: false, + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843/commits', + review_comments_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843/comments', + review_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/843/comments', + statuses_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/22db2e60206ee7445e457685367407f540553e50', + head: { + label: 'CrowdDotDev:bug/activity-type-filter', + ref: 'bug/activity-type-filter', + sha: '22db2e60206ee7445e457685367407f540553e50', + user: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data for DevTool companies.', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-10T07:55:10Z', + pushed_at: '2023-05-10T13:25:16Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 24469, + stargazers_count: 535, + watchers_count: 535, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + has_discussions: true, + forks_count: 48, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 81, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: true, + is_template: false, + web_commit_signoff_required: false, + topics: [ + 'community', + 'community-led-growth', + 'community-management', + 'developer-advocacy', + 'devrel', + 'javascript', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 48, + open_issues: 81, + watchers: 535, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, + allow_auto_merge: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', + }, + }, + base: { + label: 'CrowdDotDev:main', + ref: 'main', + sha: 'ceb9b6ed619cf09ddd4c5f6c41913d1e1a4607e7', + user: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data for DevTool companies.', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-10T07:55:10Z', + pushed_at: '2023-05-10T13:25:16Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 24469, + stargazers_count: 535, + watchers_count: 535, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + has_discussions: true, + forks_count: 48, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 81, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: true, + is_template: false, + web_commit_signoff_required: false, + topics: [ + 'community', + 'community-led-growth', + 'community-management', + 'developer-advocacy', + 'devrel', + 'javascript', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 48, + open_issues: 81, + watchers: 535, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, + allow_auto_merge: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', + }, + }, + _links: { + self: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843', + }, + html: { + href: 'https://github.com/CrowdDotDev/crowd.dev/pull/843', + }, + issue: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/843', + }, + comments: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/843/comments', + }, + review_comments: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843/comments', + }, + review_comment: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', + }, + commits: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/843/commits', + }, + statuses: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/22db2e60206ee7445e457685367407f540553e50', + }, + }, + author_association: 'CONTRIBUTOR', + auto_merge: null, + active_lock_reason: null, + }, + repository: { + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data for DevTool companies.', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-10T07:55:10Z', + pushed_at: '2023-05-10T13:25:16Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 24469, + stargazers_count: 535, + watchers_count: 535, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + has_discussions: true, + forks_count: 48, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 81, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: true, + is_template: false, + web_commit_signoff_required: false, + topics: [ + 'community', + 'community-led-growth', + 'community-management', + 'developer-advocacy', + 'devrel', + 'javascript', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 48, + open_issues: 81, + watchers: 535, + default_branch: 'main', + }, + organization: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + url: 'https://api.github.com/orgs/CrowdDotDev', + repos_url: 'https://api.github.com/orgs/CrowdDotDev/repos', + events_url: 'https://api.github.com/orgs/CrowdDotDev/events', + hooks_url: 'https://api.github.com/orgs/CrowdDotDev/hooks', + issues_url: 'https://api.github.com/orgs/CrowdDotDev/issues', + members_url: 'https://api.github.com/orgs/CrowdDotDev/members{/member}', + public_members_url: 'https://api.github.com/orgs/CrowdDotDev/public_members{/member}', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + description: + 'Open-source community and data tools built to unlock community-led growth for developer tools.', + }, + sender: { + login: 'epipav', + id: 12017738, + node_id: 'MDQ6VXNlcjEyMDE3NzM4', + avatar_url: 'https://avatars.githubusercontent.com/u/12017738?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/epipav', + html_url: 'https://github.com/epipav', + followers_url: 'https://api.github.com/users/epipav/followers', + following_url: 'https://api.github.com/users/epipav/following{/other_user}', + gists_url: 'https://api.github.com/users/epipav/gists{/gist_id}', + starred_url: 'https://api.github.com/users/epipav/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/epipav/subscriptions', + organizations_url: 'https://api.github.com/users/epipav/orgs', + repos_url: 'https://api.github.com/users/epipav/repos', + events_url: 'https://api.github.com/users/epipav/events{/privacy}', + received_events_url: 'https://api.github.com/users/epipav/received_events', + type: 'User', + site_admin: false, + }, + installation: { + id: 29211772, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjkyMTE3NzI=', + }, + }, + } + + static pullRequestReviewThreadComment = { + event: '', + created: { + action: 'created', + comment: { + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments/1192271420', + pull_request_review_id: 1424328394, + id: 1192271420, + node_id: 'PRRC_kwDOHksjGM5HEJ48', + diff_hunk: + '@@ -29,9 +29,7 @@\n \n \n \n- \n+ ', + path: 'frontend/src/modules/activity/pages/activity-list-page.vue', + commit_id: '97bd5109ff1eed738baa728cc03c91687be393bc', + original_commit_id: '97bd5109ff1eed738baa728cc03c91687be393bc', + user: { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, + }, + body: "Shouldn't we only add this once we have everything ready? So that you can merge this PR without any blocker because it doesn't update anything in the UI?", + created_at: '2023-05-12T11:57:03Z', + updated_at: '2023-05-12T12:01:35Z', + html_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/853#discussion_r1192271420', + pull_request_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853', + author_association: 'CONTRIBUTOR', + _links: { + self: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments/1192271420', + }, + html: { + href: 'https://github.com/CrowdDotDev/crowd.dev/pull/853#discussion_r1192271420', + }, + pull_request: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853', + }, + }, + reactions: { + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments/1192271420/reactions', + total_count: 0, + '+1': 0, + '-1': 0, + laugh: 0, + hooray: 0, + confused: 0, + heart: 0, + rocket: 0, + eyes: 0, + }, + start_line: null, + original_start_line: null, + start_side: null, + line: 32, + original_line: 32, + side: 'RIGHT', + original_position: 7, + position: 7, + subject_type: 'line', + }, + pull_request: { + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853', + id: 1347649482, + node_id: 'PR_kwDOHksjGM5QU3_K', + html_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/853', + diff_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/853.diff', + patch_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/853.patch', + issue_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/853', + number: 853, + state: 'open', + locked: false, + title: 'Filters configs & basic logic & typescript', + user: { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, + body: "# Changes proposed āœļø\r\n\r\n### What\r\n\n### šŸ¤– Generated by Copilot at 950f2ce\n\nThis pull request adds TypeScript support to the frontend and introduces a new `cr-filter` component to enable more flexible filtering options for the activity and member modules. It also updates some dependencies and adjusts the code accordingly. The pull request affects the following files: `frontend/.eslintrc.js`, `frontend/package.json`, `frontend/src/main.ts`, `frontend/src/modules/activity/pages/activity-list-page.vue`, and several files under `frontend/src/modules/activity/config/filters` and `frontend/src/modules/member/config/filters`.\r\n​\r\n\n### šŸ¤– Generated by Copilot at 950f2ce\n\n> _We're breaking the chains of the old code base_\n> _We're rising from the ashes with TypeScript and Vue_\n> _We're filtering the data with custom components_\n> _We're the masters of the frontend, we're the chosen few_\r\n\r\n### Why\r\n\r\n\r\n### How\r\n\n### šŸ¤– Generated by Copilot at 950f2ce\n\n* Added TypeScript support and linting rules to the project ([link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-093b2d5625f20b6d845fe73f1af12762fc64ba9d0b9d94b14e8aa287e2d2ed1dL11-R16), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-093b2d5625f20b6d845fe73f1af12762fc64ba9d0b9d94b14e8aa287e2d2ed1dL39-R47), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-093b2d5625f20b6d845fe73f1af12762fc64ba9d0b9d94b14e8aa287e2d2ed1dR71), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-093b2d5625f20b6d845fe73f1af12762fc64ba9d0b9d94b14e8aa287e2d2ed1dR80), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655R100), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-a235fca1f464b6af0fb049401b64264244eda9d624234c1fee162f6c663cee7bL3-R5), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-880807f0963877836924cebde24ebb161aefc0458ab92f7dadf867e12b7075b4L22-R22))\n* Updated `vue` and downgraded `webpack` dependencies to avoid compatibility issues ([link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655L62-R62), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-da6498268e99511d9ba0df3c13e439d10556a812881c9d03955b2ef7c6c1c655L71-R83))\n* Added custom filter components and configurations for the activity and member modules using the `cr-filter` component ([link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-f7e958bff5ca82a24a2bcc809b0d5868c76f6c7378c61dcb0b8bd287a646edd2R1-R23), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-cd8e780c8488cffad4194da57b9385504fa0d90b0b7084b6523dc9a05795a651R1-R22), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-69b2549353f117ee8aa475b258a2b7e5c4d1dabf070389e6fb0cc4515961bf2bR1-R23), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-a9caf8fef766c417b77c51900f046e8bbab2f34427bd53ac5a3ee24fa50febe8R1-R22), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-000975af376ec51052285dec3052d0d2b7b3b5bb5a32c937973df3719fab0af7R1-R21), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-eef270ab4e86feefead9e965f6749b81fabc04515ae0d016c9b617b49c67bfc4R1-R32), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-23ca53439be6cf4f27ec40bc2c06f04ea84246c16d275d2f87590ec836448089R1-R16), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-e2ef4c4cfd836c42d5d9305bfb8920729b1ac2076a16d0d9a1d431429732b038R1-R21), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-acaec04bcea58bbc89fb09cdcf9c13486baeb8031fbf36443bdf9a63194cee40R1-R35), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-3a3c6c5d10f2d009d72f8eba26e51c75b589b33911727ad0e566568b574e201aR1-R21), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-7bb1b7dc4c35d5e952e9185fe927581811c55dc23a9dc510d496abff0b41aeb1R1-R23), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-0ce6547bee0155186a048d673be3dafaab869e51b92902f7c48d524d07467c58L32-R32), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-0ce6547bee0155186a048d673be3dafaab869e51b92902f7c48d524d07467c58L67-R65), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-0ce6547bee0155186a048d673be3dafaab869e51b92902f7c48d524d07467c58R72-R73), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-0ce6547bee0155186a048d673be3dafaab869e51b92902f7c48d524d07467c58R79), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-0ce6547bee0155186a048d673be3dafaab869e51b92902f7c48d524d07467c58L85-R86), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-0ce6547bee0155186a048d673be3dafaab869e51b92902f7c48d524d07467c58R96), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-0b2256f166e26e7a5fe115419cf20ec23d7cea5aed42e3b7fc9cc00292678fedR1-R31), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-59768c401b689d0104e67273c59a560ab299fbcb88d3c52dc2b4cd3e42ed02ccR1-R23), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-f95205f0059ef9af70f69e3d1e744b7255e6892e74e4938b214149a612524223R1-R22))\n* Added type annotations and casts to avoid TypeScript errors in the `main.ts` file and the Hotjar script ([link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-a235fca1f464b6af0fb049401b64264244eda9d624234c1fee162f6c663cee7bL50-R56), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-a235fca1f464b6af0fb049401b64264244eda9d624234c1fee162f6c663cee7bL62-R64), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-a235fca1f464b6af0fb049401b64264244eda9d624234c1fee162f6c663cee7bL84-R87), [link](https://github.com/CrowdDotDev/crowd.dev/pull/853/files?diff=unified&w=0#diff-a235fca1f464b6af0fb049401b64264244eda9d624234c1fee162f6c663cee7bL94-R113))\r\n\r\n## Checklist āœ…\r\n- [x] Label appropriately with `Feature`, `Improvement`, or `Bug`.\r\n- [ ] Add screehshots to the PR description for relevant FE changes\r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)).\r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met.\r\n", + created_at: '2023-05-11T19:54:58Z', + updated_at: '2023-05-12T12:01:36Z', + closed_at: null, + merged_at: null, + merge_commit_sha: '3e84dcd09fc73ba6abffbed93ce874f833eddc9b', + assignee: { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, + assignees: [ + { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, + ], + requested_reviewers: [], + requested_teams: [], + labels: [ + { + id: 4771856507, + node_id: 'LA_kwDOHksjGM8AAAABHGzAew', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels/Feature', + name: 'Feature', + color: 'BB87FC', + default: false, + description: 'Created by Linear-GitHub Sync', + }, + ], + milestone: null, + draft: false, + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853/commits', + review_comments_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853/comments', + review_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/853/comments', + statuses_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/97bd5109ff1eed738baa728cc03c91687be393bc', + head: { + label: 'CrowdDotDev:feature/filters-config', + ref: 'feature/filters-config', + sha: '97bd5109ff1eed738baa728cc03c91687be393bc', + user: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data for DevTool companies.', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-11T09:41:38Z', + pushed_at: '2023-05-12T11:26:53Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 24949, + stargazers_count: 536, + watchers_count: 536, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + has_discussions: true, + forks_count: 49, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 82, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: true, + is_template: false, + web_commit_signoff_required: false, + topics: [ + 'community', + 'community-led-growth', + 'community-management', + 'developer-advocacy', + 'devrel', + 'javascript', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 49, + open_issues: 82, + watchers: 536, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, + allow_auto_merge: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', + }, + }, + base: { + label: 'CrowdDotDev:feature/filters', + ref: 'feature/filters', + sha: '3d953d3fa7f92c9ccdaf2247e5af0ea4b877651b', + user: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data for DevTool companies.', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-11T09:41:38Z', + pushed_at: '2023-05-12T11:26:53Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 24949, + stargazers_count: 536, + watchers_count: 536, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + has_discussions: true, + forks_count: 49, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 82, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: true, + is_template: false, + web_commit_signoff_required: false, + topics: [ + 'community', + 'community-led-growth', + 'community-management', + 'developer-advocacy', + 'devrel', + 'javascript', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 49, + open_issues: 82, + watchers: 536, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, + allow_auto_merge: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', + }, + }, + _links: { + self: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853', + }, + html: { + href: 'https://github.com/CrowdDotDev/crowd.dev/pull/853', + }, + issue: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/853', + }, + comments: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/853/comments', + }, + review_comments: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853/comments', + }, + review_comment: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', + }, + commits: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/853/commits', + }, + statuses: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/97bd5109ff1eed738baa728cc03c91687be393bc', + }, + }, + author_association: 'CONTRIBUTOR', + auto_merge: null, + active_lock_reason: null, + }, + repository: { + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data for DevTool companies.', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-11T09:41:38Z', + pushed_at: '2023-05-12T11:26:53Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 24949, + stargazers_count: 536, + watchers_count: 536, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + has_discussions: true, + forks_count: 49, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 82, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: true, + is_template: false, + web_commit_signoff_required: false, + topics: [ + 'community', + 'community-led-growth', + 'community-management', + 'developer-advocacy', + 'devrel', + 'javascript', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 49, + open_issues: 82, + watchers: 536, + default_branch: 'main', + }, + organization: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + url: 'https://api.github.com/orgs/CrowdDotDev', + repos_url: 'https://api.github.com/orgs/CrowdDotDev/repos', + events_url: 'https://api.github.com/orgs/CrowdDotDev/events', + hooks_url: 'https://api.github.com/orgs/CrowdDotDev/hooks', + issues_url: 'https://api.github.com/orgs/CrowdDotDev/issues', + members_url: 'https://api.github.com/orgs/CrowdDotDev/members{/member}', + public_members_url: 'https://api.github.com/orgs/CrowdDotDev/public_members{/member}', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + description: + 'Open-source community and data tools built to unlock community-led growth for developer tools.', + }, + sender: { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, + }, + installation: { + id: 29211772, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjkyMTE3NzI=', + }, + }, + } + + static pullRequestReviewComments = { + event: 'pull_request_review_comment', + created: {}, + } + static pullRequests = { event: 'pull_request', opened: { @@ -861,7 +2225,1653 @@ export default class TestEvents { patch_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.patch', issue_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', number: 30, - state: 'open', + state: 'open', + locked: false, + title: 'Feature/webhooks', + user: { + login: 'joanreyero', + id: 37874460, + node_id: 'MDQ6VXNlcjM3ODc0NDYw', + avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanreyero', + html_url: 'https://github.com/joanreyero', + followers_url: 'https://api.github.com/users/joanreyero/followers', + following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', + gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', + organizations_url: 'https://api.github.com/users/joanreyero/orgs', + repos_url: 'https://api.github.com/users/joanreyero/repos', + events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanreyero/received_events', + type: 'User', + site_admin: false, + }, + body: '# Description\r\n\r\n\r\n## Checklist šŸ”\r\n\r\nSome important checks that must be ensured before merging:\r\n\r\n### Deploy to staging\r\n\r\n#### Deployment checklist\r\n\r\n- [ ] Make sure all AWS Ī» functions are up to date with your version (if applicable)\r\n- [ ] Make sure the anton-environment and soa-environment are updated and pushed\r\n\r\n\r\n### Functionality\r\n\r\n- [ ] Has the functionality been checked in a normal staging tenant? (not local)\r\n- [ ] Has the functionality been checked in the large tenant? (team+large@crowd.dev)\r\n- [ ] Has the functionality been checked in an empty tenant? (team+empty@crowd.dev)\r\n- [ ] Is there any more edge cases that should be taken into account?\r\n\r\n### Code quality\r\n\r\n- [ ] Are there comments in the main functionality of the code?\r\n- [ ] Are all tests passing?\r\n- [ ] Are all URLs to external services in `.env` files? Never hard-coded\r\n- [ ] Are all secrets in `anton-environment`? Never, ever hard-coded\r\n\r\nšŸ”„šŸš€šŸ’ŖšŸ¼\r\n', + created_at: '2022-03-18T19:15:59Z', + updated_at: '2022-03-18T19:15:59Z', + closed_at: null, + merged_at: null, + merge_commit_sha: null, + assignee: null, + assignees: [], + requested_reviewers: [], + requested_teams: [], + labels: [], + milestone: null, + draft: false, + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + review_comments_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + review_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + statuses_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + head: { + label: 'CrowdHQ:feature/webhooks', + ref: 'feature/webhooks', + sha: 'a36398d1b6aa55a6614db6dec1690c1f21baaef1', + user: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdHQ/crowd-postgres', + private: true, + owner: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdHQ/crowd-postgres', + description: null, + fork: false, + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', + assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', + git_commits_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + archive_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-03-09T10:53:04Z', + pushed_at: '2022-03-18T19:16:00Z', + git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', + clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', + svn_url: 'https://github.com/CrowdHQ/crowd-postgres', + homepage: null, + size: 7125, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 2, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 2, + watchers: 1, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: true, + allow_rebase_merge: true, + allow_auto_merge: false, + delete_branch_on_merge: false, + allow_update_branch: false, + }, + }, + base: { + label: 'CrowdHQ:main', + ref: 'main', + sha: 'cc785a28b2dfc28f58bf457669ce5859f8c30593', + user: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdHQ/crowd-postgres', + private: true, + owner: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdHQ/crowd-postgres', + description: null, + fork: false, + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', + assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', + git_commits_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + archive_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-03-09T10:53:04Z', + pushed_at: '2022-03-18T19:16:00Z', + git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', + clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', + svn_url: 'https://github.com/CrowdHQ/crowd-postgres', + homepage: null, + size: 7125, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 2, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 2, + watchers: 1, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: true, + allow_rebase_merge: true, + allow_auto_merge: false, + delete_branch_on_merge: false, + allow_update_branch: false, + }, + }, + _links: { + self: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', + }, + html: { + href: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', + }, + issue: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', + }, + comments: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + }, + review_comments: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + }, + review_comment: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', + }, + commits: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + }, + statuses: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + }, + }, + author_association: 'CONTRIBUTOR', + auto_merge: null, + active_lock_reason: null, + merged: false, + mergeable: null, + rebaseable: null, + mergeable_state: 'unknown', + merged_by: null, + comments: 0, + review_comments: 0, + maintainer_can_modify: false, + commits: 5, + additions: 1053, + deletions: 22, + changed_files: 11, + }, + repository: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdHQ/crowd-postgres', + private: true, + owner: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdHQ/crowd-postgres', + description: null, + fork: false, + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', + assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + compare_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + archive_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + milestones_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-03-09T10:53:04Z', + pushed_at: '2022-03-18T19:16:00Z', + git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', + clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', + svn_url: 'https://github.com/CrowdHQ/crowd-postgres', + homepage: null, + size: 7125, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 2, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 2, + watchers: 1, + default_branch: 'main', + }, + organization: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + url: 'https://api.github.com/orgs/CrowdHQ', + repos_url: 'https://api.github.com/orgs/CrowdHQ/repos', + events_url: 'https://api.github.com/orgs/CrowdHQ/events', + hooks_url: 'https://api.github.com/orgs/CrowdHQ/hooks', + issues_url: 'https://api.github.com/orgs/CrowdHQ/issues', + members_url: 'https://api.github.com/orgs/CrowdHQ/members{/member}', + public_members_url: 'https://api.github.com/orgs/CrowdHQ/public_members{/member}', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + description: '', + }, + sender: { + login: 'joanreyero', + id: 37874460, + node_id: 'MDQ6VXNlcjM3ODc0NDYw', + avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanreyero', + html_url: 'https://github.com/joanreyero', + followers_url: 'https://api.github.com/users/joanreyero/followers', + following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', + gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', + organizations_url: 'https://api.github.com/users/joanreyero/orgs', + repos_url: 'https://api.github.com/users/joanreyero/repos', + events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanreyero/received_events', + type: 'User', + site_admin: false, + }, + installation: { + id: 23585816, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjM1ODU4MTY=', + }, + }, + edited: { + action: 'edited', + number: 266, + pull_request: { + url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266', + id: 1028781659, + node_id: 'PR_kwDOGsy6M840rLIb', + html_url: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266', + diff_url: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266.diff', + patch_url: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266.patch', + issue_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266', + number: 266, + state: 'open', + locked: false, + title: 'Feature/nodejs GitHub integration', + user: { + login: 'anilb0stanci', + id: 94853297, + node_id: 'U_kgDOBadYsQ', + avatar_url: 'https://avatars.githubusercontent.com/u/94853297?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/anilb0stanci', + html_url: 'https://github.com/anilb0stanci', + followers_url: 'https://api.github.com/users/anilb0stanci/followers', + following_url: 'https://api.github.com/users/anilb0stanci/following{/other_user}', + gists_url: 'https://api.github.com/users/anilb0stanci/gists{/gist_id}', + starred_url: 'https://api.github.com/users/anilb0stanci/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/anilb0stanci/subscriptions', + organizations_url: 'https://api.github.com/users/anilb0stanci/orgs', + repos_url: 'https://api.github.com/users/anilb0stanci/repos', + events_url: 'https://api.github.com/users/anilb0stanci/events{/privacy}', + received_events_url: 'https://api.github.com/users/anilb0stanci/received_events', + type: 'User', + site_admin: false, + }, + body: "# Changes proposed āœļø\r\n- github integration moved from python to nodejs\r\n- new github endpoint: discussions for webhooks and iterator\r\n- issue comments, pr comments and discussion comments now processed as separate endpoints (edited)\r\n\r\n## Checklist āœ…\r\n- [x] Label appropriately with `type:feature šŸš€`, `type:enhancement ✨`, `type:bug šŸž`, or `type:documentation šŸ“œ`.\r\n- [ ] Tests are passing. \r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] Environment variables have been updated\r\n - [ ] Front-end: `frontend/.env.dist`\r\n - [ ] Backend: `backend/.env.dist`, `backend/.env.dist.staging`, `backend/.env.dist.staging`.\r\n - [ ] [Configuration docs](https://docs.crowd.dev/docs/configuration) have been updated.\r\n - [ ] Team members only: update environment variables in Password manager and update the team\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)). \r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met. \r\n- [ ] All changes have been tested in a staging site. \r\n- [ ] All changes are working locally running crowd.dev's Docker local environment.", + created_at: '2022-08-17T12:35:00Z', + updated_at: '2022-08-21T15:06:38Z', + closed_at: null, + merged_at: null, + merge_commit_sha: 'b5e53951e4340c9c4ab03799d8a52450843d7c1b', + assignee: null, + assignees: [], + requested_reviewers: [], + requested_teams: [], + labels: [ + { + id: 4374821209, + node_id: 'LA_kwDOGsy6M88AAAABBMJ5WQ', + url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels/type:enhancement%20%E2%9C%A8', + name: 'type:enhancement ✨', + color: 'B57798', + default: false, + description: '', + }, + { + id: 4374821465, + node_id: 'LA_kwDOGsy6M88AAAABBMJ6WQ', + url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels/type:feature%20%F0%9F%9A%80', + name: 'type:feature šŸš€', + color: 'A3DF2C', + default: false, + description: '', + }, + ], + milestone: null, + draft: false, + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/commits', + review_comments_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/comments', + review_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266/comments', + statuses_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/e7879626e65089f4ebbc0a1f36cdab54f54cef31', + head: { + label: 'CrowdDotDev:feature/nodejs-github-integration', + ref: 'feature/nodejs-github-integration', + sha: 'e7879626e65089f4ebbc0a1f36cdab54f54cef31', + user: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdDotDev/crowd-postgres', + private: true, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd-postgres', + description: 'temporary monorepo (until oss launch)', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/events', + assignees_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/assignees{/user}', + branches_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/stargazers', + contributors_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscribers', + subscription_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/commits{/sha}', + git_commits_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/commits{/sha}', + comments_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/comments{/number}', + contents_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/merges', + archive_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-08-12T18:29:08Z', + pushed_at: '2022-08-21T13:49:08Z', + git_url: 'git://github.com/CrowdDotDev/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd-postgres.git', + clone_url: 'https://github.com/CrowdDotDev/crowd-postgres.git', + svn_url: 'https://github.com/CrowdDotDev/crowd-postgres', + homepage: '', + size: 25880, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 6, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + web_commit_signoff_required: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 6, + watchers: 1, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: true, + allow_rebase_merge: true, + allow_auto_merge: false, + delete_branch_on_merge: false, + allow_update_branch: false, + use_squash_pr_title_as_default: false, + squash_merge_commit_message: 'COMMIT_MESSAGES', + squash_merge_commit_title: 'COMMIT_OR_PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', + }, + }, + base: { + label: 'CrowdDotDev:main', + ref: 'main', + sha: '974da23a0edcb771de968cce75d2e8770a99e751', + user: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdDotDev/crowd-postgres', + private: true, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd-postgres', + description: 'temporary monorepo (until oss launch)', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/events', + assignees_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/assignees{/user}', + branches_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/stargazers', + contributors_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscribers', + subscription_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/commits{/sha}', + git_commits_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/commits{/sha}', + comments_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/comments{/number}', + contents_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/merges', + archive_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-08-12T18:29:08Z', + pushed_at: '2022-08-21T13:49:08Z', + git_url: 'git://github.com/CrowdDotDev/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd-postgres.git', + clone_url: 'https://github.com/CrowdDotDev/crowd-postgres.git', + svn_url: 'https://github.com/CrowdDotDev/crowd-postgres', + homepage: '', + size: 25880, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 6, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + web_commit_signoff_required: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 6, + watchers: 1, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: true, + allow_rebase_merge: true, + allow_auto_merge: false, + delete_branch_on_merge: false, + allow_update_branch: false, + use_squash_pr_title_as_default: false, + squash_merge_commit_message: 'COMMIT_MESSAGES', + squash_merge_commit_title: 'COMMIT_OR_PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', + }, + }, + _links: { + self: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266', + }, + html: { + href: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266', + }, + issue: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266', + }, + comments: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266/comments', + }, + review_comments: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/comments', + }, + review_comment: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/comments{/number}', + }, + commits: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/commits', + }, + statuses: { + href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/e7879626e65089f4ebbc0a1f36cdab54f54cef31', + }, + }, + author_association: 'CONTRIBUTOR', + auto_merge: null, + active_lock_reason: null, + merged: false, + mergeable: true, + rebaseable: true, + mergeable_state: 'unstable', + merged_by: null, + comments: 3, + review_comments: 0, + maintainer_can_modify: false, + commits: 13, + additions: 3005, + deletions: 126, + changed_files: 25, + }, + changes: { + body: { + from: "# Changes proposed āœļø\r\n- github integration moved from python to nodejs\r\n- new github endpoint: discussions for webhooks and iterator\r\n- issue comments, pr comments and discussion comments now processed as separate endpoints\r\n \r\n## Checklist āœ…\r\n- [x] Label appropriately with `type:feature šŸš€`, `type:enhancement ✨`, `type:bug šŸž`, or `type:documentation šŸ“œ`.\r\n- [ ] Tests are passing. \r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] Environment variables have been updated\r\n - [ ] Front-end: `frontend/.env.dist`\r\n - [ ] Backend: `backend/.env.dist`, `backend/.env.dist.staging`, `backend/.env.dist.staging`.\r\n - [ ] [Configuration docs](https://docs.crowd.dev/docs/configuration) have been updated.\r\n - [ ] Team members only: update environment variables in Password manager and update the team\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)). \r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met. \r\n- [ ] All changes have been tested in a staging site. \r\n- [ ] All changes are working locally running crowd.dev's Docker local environment.", + }, + }, + repository: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdDotDev/crowd-postgres', + private: true, + owner: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd-postgres', + description: 'temporary monorepo (until oss launch)', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/commits{/sha}', + git_commits_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/merges', + archive_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-08-12T18:29:08Z', + pushed_at: '2022-08-21T13:49:08Z', + git_url: 'git://github.com/CrowdDotDev/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd-postgres.git', + clone_url: 'https://github.com/CrowdDotDev/crowd-postgres.git', + svn_url: 'https://github.com/CrowdDotDev/crowd-postgres', + homepage: '', + size: 25880, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 6, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + web_commit_signoff_required: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 6, + watchers: 1, + default_branch: 'main', + }, + organization: { + login: 'CrowdDotDev', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + url: 'https://api.github.com/orgs/CrowdDotDev', + repos_url: 'https://api.github.com/orgs/CrowdDotDev/repos', + events_url: 'https://api.github.com/orgs/CrowdDotDev/events', + hooks_url: 'https://api.github.com/orgs/CrowdDotDev/hooks', + issues_url: 'https://api.github.com/orgs/CrowdDotDev/issues', + members_url: 'https://api.github.com/orgs/CrowdDotDev/members{/member}', + public_members_url: 'https://api.github.com/orgs/CrowdDotDev/public_members{/member}', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + description: '', + }, + sender: { + login: 'anilb0stanci', + id: 94853297, + node_id: 'U_kgDOBadYsQ', + avatar_url: 'https://avatars.githubusercontent.com/u/94853297?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/anilb0stanci', + html_url: 'https://github.com/anilb0stanci', + followers_url: 'https://api.github.com/users/anilb0stanci/followers', + following_url: 'https://api.github.com/users/anilb0stanci/following{/other_user}', + gists_url: 'https://api.github.com/users/anilb0stanci/gists{/gist_id}', + starred_url: 'https://api.github.com/users/anilb0stanci/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/anilb0stanci/subscriptions', + organizations_url: 'https://api.github.com/users/anilb0stanci/orgs', + repos_url: 'https://api.github.com/users/anilb0stanci/repos', + events_url: 'https://api.github.com/users/anilb0stanci/events{/privacy}', + received_events_url: 'https://api.github.com/users/anilb0stanci/received_events', + type: 'User', + site_admin: false, + }, + installation: { + id: 23585816, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjQzMTA5NTc=', + }, + }, + reopened: { + action: 'reopened', + number: 30, + pull_request: { + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', + id: 883733019, + node_id: 'PR_kwDOGsy6M840rLIb', + html_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', + diff_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.diff', + patch_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.patch', + issue_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', + number: 30, + state: 'open', + locked: false, + title: 'Feature/webhooks', + user: { + login: 'joanreyero', + id: 37874460, + node_id: 'MDQ6VXNlcjM3ODc0NDYw', + avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanreyero', + html_url: 'https://github.com/joanreyero', + followers_url: 'https://api.github.com/users/joanreyero/followers', + following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', + gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', + organizations_url: 'https://api.github.com/users/joanreyero/orgs', + repos_url: 'https://api.github.com/users/joanreyero/repos', + events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanreyero/received_events', + type: 'User', + site_admin: false, + }, + body: '# Description\r\n\r\n\r\n## Checklist šŸ”\r\n\r\nSome important checks that must be ensured before merging:\r\n\r\n### Deploy to staging\r\n\r\n#### Deployment checklist\r\n\r\n- [ ] Make sure all AWS Ī» functions are up to date with your version (if applicable)\r\n- [ ] Make sure the anton-environment and soa-environment are updated and pushed\r\n\r\n\r\n### Functionality\r\n\r\n- [ ] Has the functionality been checked in a normal staging tenant? (not local)\r\n- [ ] Has the functionality been checked in the large tenant? (team+large@crowd.dev)\r\n- [ ] Has the functionality been checked in an empty tenant? (team+empty@crowd.dev)\r\n- [ ] Is there any more edge cases that should be taken into account?\r\n\r\n### Code quality\r\n\r\n- [ ] Are there comments in the main functionality of the code?\r\n- [ ] Are all tests passing?\r\n- [ ] Are all URLs to external services in `.env` files? Never hard-coded\r\n- [ ] Are all secrets in `anton-environment`? Never, ever hard-coded\r\n\r\nšŸ”„šŸš€šŸ’ŖšŸ¼\r\n', + created_at: '2022-03-18T19:15:59Z', + updated_at: '2022-03-18T19:15:59Z', + closed_at: null, + merged_at: null, + merge_commit_sha: null, + assignee: null, + assignees: [], + requested_reviewers: [], + requested_teams: [], + labels: [], + milestone: null, + draft: false, + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + review_comments_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + review_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + statuses_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + head: { + label: 'CrowdHQ:feature/webhooks', + ref: 'feature/webhooks', + sha: 'a36398d1b6aa55a6614db6dec1690c1f21baaef1', + user: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdHQ/crowd-postgres', + private: true, + owner: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdHQ/crowd-postgres', + description: null, + fork: false, + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', + assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', + git_commits_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + archive_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-03-09T10:53:04Z', + pushed_at: '2022-03-18T19:16:00Z', + git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', + clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', + svn_url: 'https://github.com/CrowdHQ/crowd-postgres', + homepage: null, + size: 7125, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 2, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 2, + watchers: 1, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: true, + allow_rebase_merge: true, + allow_auto_merge: false, + delete_branch_on_merge: false, + allow_update_branch: false, + }, + }, + base: { + label: 'CrowdHQ:main', + ref: 'main', + sha: 'cc785a28b2dfc28f58bf457669ce5859f8c30593', + user: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + repo: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdHQ/crowd-postgres', + private: true, + owner: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdHQ/crowd-postgres', + description: null, + fork: false, + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', + assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', + git_commits_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + compare_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + archive_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + milestones_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-03-09T10:53:04Z', + pushed_at: '2022-03-18T19:16:00Z', + git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', + clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', + svn_url: 'https://github.com/CrowdHQ/crowd-postgres', + homepage: null, + size: 7125, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 2, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 2, + watchers: 1, + default_branch: 'main', + allow_squash_merge: true, + allow_merge_commit: true, + allow_rebase_merge: true, + allow_auto_merge: false, + delete_branch_on_merge: false, + allow_update_branch: false, + }, + }, + _links: { + self: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', + }, + html: { + href: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', + }, + issue: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', + }, + comments: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + }, + review_comments: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + }, + review_comment: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', + }, + commits: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + }, + statuses: { + href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + }, + }, + author_association: 'CONTRIBUTOR', + auto_merge: null, + active_lock_reason: null, + merged: false, + mergeable: null, + rebaseable: null, + mergeable_state: 'unknown', + merged_by: null, + comments: 0, + review_comments: 0, + maintainer_can_modify: false, + commits: 5, + additions: 1053, + deletions: 22, + changed_files: 11, + }, + repository: { + id: 449624627, + node_id: 'R_kgDOGsy6Mw', + name: 'crowd-postgres', + full_name: 'CrowdHQ/crowd-postgres', + private: true, + owner: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/CrowdHQ', + html_url: 'https://github.com/CrowdHQ', + followers_url: 'https://api.github.com/users/CrowdHQ/followers', + following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', + repos_url: 'https://api.github.com/users/CrowdHQ/repos', + events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdHQ/crowd-postgres', + description: null, + fork: false, + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', + forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', + keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', + hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', + assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', + blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', + stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', + commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + issue_comment_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + compare_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + archive_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', + issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + milestones_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + notifications_url: + 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', + created_at: '2022-01-19T09:22:07Z', + updated_at: '2022-03-09T10:53:04Z', + pushed_at: '2022-03-18T19:16:00Z', + git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', + ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', + clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', + svn_url: 'https://github.com/CrowdHQ/crowd-postgres', + homepage: null, + size: 7125, + stargazers_count: 1, + watchers_count: 1, + language: 'TypeScript', + has_issues: true, + has_projects: true, + has_downloads: true, + has_wiki: true, + has_pages: false, + forks_count: 0, + mirror_url: null, + archived: false, + disabled: false, + open_issues_count: 2, + license: { + key: 'other', + name: 'Other', + spdx_id: 'NOASSERTION', + url: null, + node_id: 'MDc6TGljZW5zZTA=', + }, + allow_forking: false, + is_template: false, + topics: [], + visibility: 'private', + forks: 0, + open_issues: 2, + watchers: 1, + default_branch: 'main', + }, + organization: { + login: 'CrowdHQ', + id: 85551972, + node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', + url: 'https://api.github.com/orgs/CrowdHQ', + repos_url: 'https://api.github.com/orgs/CrowdHQ/repos', + events_url: 'https://api.github.com/orgs/CrowdHQ/events', + hooks_url: 'https://api.github.com/orgs/CrowdHQ/hooks', + issues_url: 'https://api.github.com/orgs/CrowdHQ/issues', + members_url: 'https://api.github.com/orgs/CrowdHQ/members{/member}', + public_members_url: 'https://api.github.com/orgs/CrowdHQ/public_members{/member}', + avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', + description: '', + }, + sender: { + login: 'joanreyero', + id: 37874460, + node_id: 'MDQ6VXNlcjM3ODc0NDYw', + avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanreyero', + html_url: 'https://github.com/joanreyero', + followers_url: 'https://api.github.com/users/joanreyero/followers', + following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', + gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', + organizations_url: 'https://api.github.com/users/joanreyero/orgs', + repos_url: 'https://api.github.com/users/joanreyero/repos', + events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanreyero/received_events', + type: 'User', + site_admin: false, + }, + installation: { + id: 23585816, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjM1ODU4MTY=', + }, + }, + closed: { + action: 'closed', + number: 30, + pull_request: { + url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', + id: 883733019, + node_id: 'PR_kwDOGsy6M840rLIb', + html_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', + diff_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.diff', + patch_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.patch', + issue_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', + number: 30, + state: 'closed', locked: false, title: 'Feature/webhooks', user: { @@ -886,10 +3896,10 @@ export default class TestEvents { }, body: '# Description\r\n\r\n\r\n## Checklist šŸ”\r\n\r\nSome important checks that must be ensured before merging:\r\n\r\n### Deploy to staging\r\n\r\n#### Deployment checklist\r\n\r\n- [ ] Make sure all AWS Ī» functions are up to date with your version (if applicable)\r\n- [ ] Make sure the anton-environment and soa-environment are updated and pushed\r\n\r\n\r\n### Functionality\r\n\r\n- [ ] Has the functionality been checked in a normal staging tenant? (not local)\r\n- [ ] Has the functionality been checked in the large tenant? (team+large@crowd.dev)\r\n- [ ] Has the functionality been checked in an empty tenant? (team+empty@crowd.dev)\r\n- [ ] Is there any more edge cases that should be taken into account?\r\n\r\n### Code quality\r\n\r\n- [ ] Are there comments in the main functionality of the code?\r\n- [ ] Are all tests passing?\r\n- [ ] Are all URLs to external services in `.env` files? Never hard-coded\r\n- [ ] Are all secrets in `anton-environment`? Never, ever hard-coded\r\n\r\nšŸ”„šŸš€šŸ’ŖšŸ¼\r\n', created_at: '2022-03-18T19:15:59Z', - updated_at: '2022-03-18T19:15:59Z', - closed_at: null, + updated_at: '2022-03-18T19:18:54Z', + closed_at: '2022-03-18T19:18:54Z', merged_at: null, - merge_commit_sha: null, + merge_commit_sha: '8b114a07a097b4903bde26918780edc0fc8ff707', assignee: null, assignees: [], requested_reviewers: [], @@ -1024,7 +4034,7 @@ export default class TestEvents { mirror_url: null, archived: false, disabled: false, - open_issues_count: 2, + open_issues_count: 1, license: { key: 'other', name: 'Other', @@ -1037,7 +4047,7 @@ export default class TestEvents { topics: [], visibility: 'private', forks: 0, - open_issues: 2, + open_issues: 1, watchers: 1, default_branch: 'main', allow_squash_merge: true, @@ -1167,7 +4177,7 @@ export default class TestEvents { mirror_url: null, archived: false, disabled: false, - open_issues_count: 2, + open_issues_count: 1, license: { key: 'other', name: 'Other', @@ -1180,7 +4190,7 @@ export default class TestEvents { topics: [], visibility: 'private', forks: 0, - open_issues: 2, + open_issues: 1, watchers: 1, default_branch: 'main', allow_squash_merge: true, @@ -1221,9 +4231,9 @@ export default class TestEvents { auto_merge: null, active_lock_reason: null, merged: false, - mergeable: null, - rebaseable: null, - mergeable_state: 'unknown', + mergeable: true, + rebaseable: false, + mergeable_state: 'clean', merged_by: null, comments: 0, review_comments: 0, @@ -1324,7 +4334,7 @@ export default class TestEvents { mirror_url: null, archived: false, disabled: false, - open_issues_count: 2, + open_issues_count: 1, license: { key: 'other', name: 'Other', @@ -1337,7 +4347,7 @@ export default class TestEvents { topics: [], visibility: 'private', forks: 0, - open_issues: 2, + open_issues: 1, watchers: 1, default_branch: 'main', }, @@ -1380,85 +4390,126 @@ export default class TestEvents { node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjM1ODU4MTY=', }, }, - edited: { - action: 'edited', - number: 266, + assigned: { + action: 'assigned', + number: 898, pull_request: { - url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266', - id: 1028781659, - node_id: 'PR_kwDOGsy6M840rLIb', - html_url: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266', - diff_url: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266.diff', - patch_url: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266.patch', - issue_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266', - number: 266, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/898', + id: 1362932082, + node_id: 'PR_kwDOHksjGM5RPLFy', + html_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/898', + diff_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/898.diff', + patch_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/898.patch', + issue_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/898', + number: 898, state: 'open', locked: false, - title: 'Feature/nodejs GitHub integration', + title: 'Github issue closed support and improvements', user: { - login: 'anilb0stanci', - id: 94853297, - node_id: 'U_kgDOBadYsQ', - avatar_url: 'https://avatars.githubusercontent.com/u/94853297?v=4', + login: 'epipav', + id: 12017738, + node_id: 'MDQ6VXNlcjEyMDE3NzM4', + avatar_url: 'https://avatars.githubusercontent.com/u/12017738?v=4', gravatar_id: '', - url: 'https://api.github.com/users/anilb0stanci', - html_url: 'https://github.com/anilb0stanci', - followers_url: 'https://api.github.com/users/anilb0stanci/followers', - following_url: 'https://api.github.com/users/anilb0stanci/following{/other_user}', - gists_url: 'https://api.github.com/users/anilb0stanci/gists{/gist_id}', - starred_url: 'https://api.github.com/users/anilb0stanci/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/anilb0stanci/subscriptions', - organizations_url: 'https://api.github.com/users/anilb0stanci/orgs', - repos_url: 'https://api.github.com/users/anilb0stanci/repos', - events_url: 'https://api.github.com/users/anilb0stanci/events{/privacy}', - received_events_url: 'https://api.github.com/users/anilb0stanci/received_events', + url: 'https://api.github.com/users/epipav', + html_url: 'https://github.com/epipav', + followers_url: 'https://api.github.com/users/epipav/followers', + following_url: 'https://api.github.com/users/epipav/following{/other_user}', + gists_url: 'https://api.github.com/users/epipav/gists{/gist_id}', + starred_url: 'https://api.github.com/users/epipav/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/epipav/subscriptions', + organizations_url: 'https://api.github.com/users/epipav/orgs', + repos_url: 'https://api.github.com/users/epipav/repos', + events_url: 'https://api.github.com/users/epipav/events{/privacy}', + received_events_url: 'https://api.github.com/users/epipav/received_events', type: 'User', site_admin: false, }, - body: "# Changes proposed āœļø\r\n- github integration moved from python to nodejs\r\n- new github endpoint: discussions for webhooks and iterator\r\n- issue comments, pr comments and discussion comments now processed as separate endpoints (edited)\r\n\r\n## Checklist āœ…\r\n- [x] Label appropriately with `type:feature šŸš€`, `type:enhancement ✨`, `type:bug šŸž`, or `type:documentation šŸ“œ`.\r\n- [ ] Tests are passing. \r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] Environment variables have been updated\r\n - [ ] Front-end: `frontend/.env.dist`\r\n - [ ] Backend: `backend/.env.dist`, `backend/.env.dist.staging`, `backend/.env.dist.staging`.\r\n - [ ] [Configuration docs](https://docs.crowd.dev/docs/configuration) have been updated.\r\n - [ ] Team members only: update environment variables in Password manager and update the team\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)). \r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met. \r\n- [ ] All changes have been tested in a staging site. \r\n- [ ] All changes are working locally running crowd.dev's Docker local environment.", - created_at: '2022-08-17T12:35:00Z', - updated_at: '2022-08-21T15:06:38Z', + body: '# Changes proposed āœļø\r\n\r\n### What\r\n\n### šŸ¤– Generated by Copilot at ff1b5de\n\nThis pull request improves the GitHub integration service by using the correct source identifier for pull request and issue activities, and by fetching and parsing the closed events of the issues. It modifies the `githubIntegrationService.ts` and the `issues.ts` files to implement these changes.\r\n​\r\n\n### šŸ¤– Generated by Copilot at ff1b5de\n\n> _`IssuesQuery` grows_\n> _Fetching timeline items now_\n> _Winter of closed bugs_\r\n\r\n### Why\r\n\r\n\r\n### How\r\n\n### šŸ¤– Generated by Copilot at ff1b5de\n\n* Modify the `sourceId` of the activities generated from pull request events to use the `sender.login` instead of the `user.login` of the pull request author, to reflect the user who performed the action ([link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30L909-R909), [link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30L919-R921), [link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30L937-R937))\n* Declare and assign four variables (`sourceId`, `sourceParentId`, `body`, and `title`) at the beginning of the `parseWebhook` method in `githubIntegrationService.ts`, to be used later for generating activities based on the issue events, to avoid repeating the same logic and to make the code more readable and consistent ([link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30R1424-R1427), [link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30R1436-R1439), [link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30R1446-R1451), [link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30L1459-R1474))\n* Modify the `parseWebhookMember` method call in `githubIntegrationService.ts`, to use the `sender.login` instead of the `issue.user.login`, to get the member information of the user who triggered the issue event, to match the logic of using the `sender.login` for the `sourceId` of the activity ([link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30L1449-R1459))\n* Add a call to the `parseIssueEvents` method in `githubIntegrationService.ts`, which is a new method that parses the timeline items of the issue and generates activities for each supported event type, such as `CLOSED_EVENT`, and concatenates the output array with the existing output array ([link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30R1514-R1522))\n* Add the implementation of the `parseIssueEvents` method in `githubIntegrationService.ts`, which iterates over the records of the timeline items, and uses a switch statement to handle different event types, and pushes a new activity object to the output array, with the appropriate properties and attributes based on the event type, and logs a warning message for any unsupported event type ([link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-93f2daaa968f5bec5c40cd31fc27ac6422ea3dcbdabecf3ef80f3c16802d1c30R1528-R1572))\n* Add a new field to the `IssuesQuery` class in `issues.ts`, which is a GraphQL query that fetches the issues from the GitHub API, to get the information of the closed events of the issues, such as the actor and the created date, which are needed for generating the activities in the `parseIssueEvents` method, and uses a fragment to select the relevant fields of the actor ([link](https://github.com/CrowdDotDev/crowd.dev/pull/898/files?diff=unified&w=0#diff-75aae4f028e206f107d0ea6dd3e99f71271f27f46f4cb260b199ba9dfdc9340bR24-R35))\r\n\r\n## Checklist āœ…\r\n- [ ] Label appropriately with `Feature`, `Improvement`, or `Bug`.\r\n- [ ] Add screehshots to the PR description for relevant FE changes\r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)).\r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met.\r\n', + created_at: '2023-05-24T11:40:14Z', + updated_at: '2023-05-24T13:11:07Z', closed_at: null, merged_at: null, - merge_commit_sha: 'b5e53951e4340c9c4ab03799d8a52450843d7c1b', - assignee: null, - assignees: [], - requested_reviewers: [], - requested_teams: [], - labels: [ + merge_commit_sha: 'c51ad2b5557f314f5567cc2c0be85bfc6a36c95e', + assignee: { + login: 'epipav', + id: 12017738, + node_id: 'MDQ6VXNlcjEyMDE3NzM4', + avatar_url: 'https://avatars.githubusercontent.com/u/12017738?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/epipav', + html_url: 'https://github.com/epipav', + followers_url: 'https://api.github.com/users/epipav/followers', + following_url: 'https://api.github.com/users/epipav/following{/other_user}', + gists_url: 'https://api.github.com/users/epipav/gists{/gist_id}', + starred_url: 'https://api.github.com/users/epipav/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/epipav/subscriptions', + organizations_url: 'https://api.github.com/users/epipav/orgs', + repos_url: 'https://api.github.com/users/epipav/repos', + events_url: 'https://api.github.com/users/epipav/events{/privacy}', + received_events_url: 'https://api.github.com/users/epipav/received_events', + type: 'User', + site_admin: false, + }, + assignees: [ { - id: 4374821209, - node_id: 'LA_kwDOGsy6M88AAAABBMJ5WQ', - url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels/type:enhancement%20%E2%9C%A8', - name: 'type:enhancement ✨', - color: 'B57798', - default: false, - description: '', + login: 'epipav', + id: 12017738, + node_id: 'MDQ6VXNlcjEyMDE3NzM4', + avatar_url: 'https://avatars.githubusercontent.com/u/12017738?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/epipav', + html_url: 'https://github.com/epipav', + followers_url: 'https://api.github.com/users/epipav/followers', + following_url: 'https://api.github.com/users/epipav/following{/other_user}', + gists_url: 'https://api.github.com/users/epipav/gists{/gist_id}', + starred_url: 'https://api.github.com/users/epipav/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/epipav/subscriptions', + organizations_url: 'https://api.github.com/users/epipav/orgs', + repos_url: 'https://api.github.com/users/epipav/repos', + events_url: 'https://api.github.com/users/epipav/events{/privacy}', + received_events_url: 'https://api.github.com/users/epipav/received_events', + type: 'User', + site_admin: false, }, { - id: 4374821465, - node_id: 'LA_kwDOGsy6M88AAAABBMJ6WQ', - url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels/type:feature%20%F0%9F%9A%80', - name: 'type:feature šŸš€', - color: 'A3DF2C', - default: false, - description: '', + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, }, ], + requested_reviewers: [], + requested_teams: [], + labels: [], milestone: null, - draft: false, - commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/commits', + draft: true, + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/898/commits', review_comments_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/comments', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/898/comments', review_comment_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/comments{/number}', - comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266/comments', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/898/comments', statuses_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/e7879626e65089f4ebbc0a1f36cdab54f54cef31', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/ff1b5de3e7ad22bba4941484bd5723b561374f98', head: { - label: 'CrowdDotDev:feature/nodejs-github-integration', - ref: 'feature/nodejs-github-integration', - sha: 'e7879626e65089f4ebbc0a1f36cdab54f54cef31', + label: 'CrowdDotDev:improvement/gh-integration-issues-closed', + ref: 'improvement/gh-integration-issues-closed', + sha: 'ff1b5de3e7ad22bba4941484bd5723b561374f98', user: { login: 'CrowdDotDev', id: 85551972, @@ -1480,11 +4531,11 @@ export default class TestEvents { site_admin: false, }, repo: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdDotDev/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { login: 'CrowdDotDev', id: 85551972, @@ -1505,82 +4556,77 @@ export default class TestEvents { type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdDotDev/crowd-postgres', - description: 'temporary monorepo (until oss launch)', + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/events', - assignees_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/assignees{/user}', - branches_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/stargazers', - contributors_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscribers', - subscription_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/commits{/sha}', - git_commits_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/commits{/sha}', - comments_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/comments{/number}', - contents_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contents/{+path}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', compare_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/merges', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', archive_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', milestones_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-08-12T18:29:08Z', - pushed_at: '2022-08-21T13:49:08Z', - git_url: 'git://github.com/CrowdDotDev/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdDotDev/crowd-postgres.git', - clone_url: 'https://github.com/CrowdDotDev/crowd-postgres.git', - svn_url: 'https://github.com/CrowdDotDev/crowd-postgres', - homepage: '', - size: 25880, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T11:40:15Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25942, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 6, + open_issues_count: 86, license: { key: 'other', name: 'Other', @@ -1588,24 +4634,42 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, web_commit_signoff_required: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 6, - watchers: 1, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 86, + watchers: 554, default_branch: 'main', allow_squash_merge: true, - allow_merge_commit: true, - allow_rebase_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, allow_auto_merge: false, - delete_branch_on_merge: false, - allow_update_branch: false, - use_squash_pr_title_as_default: false, - squash_merge_commit_message: 'COMMIT_MESSAGES', - squash_merge_commit_title: 'COMMIT_OR_PR_TITLE', + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', merge_commit_message: 'PR_TITLE', merge_commit_title: 'MERGE_MESSAGE', }, @@ -1613,7 +4677,7 @@ export default class TestEvents { base: { label: 'CrowdDotDev:main', ref: 'main', - sha: '974da23a0edcb771de968cce75d2e8770a99e751', + sha: '73d23c92e24621a5153d3c378deca3c8e6f050b7', user: { login: 'CrowdDotDev', id: 85551972, @@ -1635,11 +4699,11 @@ export default class TestEvents { site_admin: false, }, repo: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdDotDev/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { login: 'CrowdDotDev', id: 85551972, @@ -1660,82 +4724,77 @@ export default class TestEvents { type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdDotDev/crowd-postgres', - description: 'temporary monorepo (until oss launch)', + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/events', - assignees_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/assignees{/user}', - branches_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/stargazers', - contributors_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscribers', - subscription_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/commits{/sha}', - git_commits_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/commits{/sha}', - comments_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/comments{/number}', - contents_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contents/{+path}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', compare_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/merges', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', archive_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', milestones_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-08-12T18:29:08Z', - pushed_at: '2022-08-21T13:49:08Z', - git_url: 'git://github.com/CrowdDotDev/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdDotDev/crowd-postgres.git', - clone_url: 'https://github.com/CrowdDotDev/crowd-postgres.git', - svn_url: 'https://github.com/CrowdDotDev/crowd-postgres', - homepage: '', - size: 25880, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T11:40:15Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25942, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 6, + open_issues_count: 86, license: { key: 'other', name: 'Other', @@ -1743,52 +4802,70 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, web_commit_signoff_required: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 6, - watchers: 1, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 86, + watchers: 554, default_branch: 'main', allow_squash_merge: true, - allow_merge_commit: true, - allow_rebase_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, allow_auto_merge: false, - delete_branch_on_merge: false, - allow_update_branch: false, - use_squash_pr_title_as_default: false, - squash_merge_commit_message: 'COMMIT_MESSAGES', - squash_merge_commit_title: 'COMMIT_OR_PR_TITLE', + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', merge_commit_message: 'PR_TITLE', merge_commit_title: 'MERGE_MESSAGE', }, }, _links: { self: { - href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/898', }, html: { - href: 'https://github.com/CrowdDotDev/crowd-postgres/pull/266', + href: 'https://github.com/CrowdDotDev/crowd.dev/pull/898', }, issue: { - href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/898', }, comments: { - href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/266/comments', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/898/comments', }, review_comments: { - href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/comments', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/898/comments', }, review_comment: { - href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/comments{/number}', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', }, commits: { - href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls/266/commits', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/898/commits', }, statuses: { - href: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/e7879626e65089f4ebbc0a1f36cdab54f54cef31', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/ff1b5de3e7ad22bba4941484bd5723b561374f98', }, }, author_association: 'CONTRIBUTOR', @@ -1799,25 +4876,40 @@ export default class TestEvents { rebaseable: true, mergeable_state: 'unstable', merged_by: null, - comments: 3, + comments: 0, review_comments: 0, maintainer_can_modify: false, - commits: 13, - additions: 3005, - deletions: 126, - changed_files: 25, + commits: 1, + additions: 92, + deletions: 16, + changed_files: 2, }, - changes: { - body: { - from: "# Changes proposed āœļø\r\n- github integration moved from python to nodejs\r\n- new github endpoint: discussions for webhooks and iterator\r\n- issue comments, pr comments and discussion comments now processed as separate endpoints\r\n \r\n## Checklist āœ…\r\n- [x] Label appropriately with `type:feature šŸš€`, `type:enhancement ✨`, `type:bug šŸž`, or `type:documentation šŸ“œ`.\r\n- [ ] Tests are passing. \r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] Environment variables have been updated\r\n - [ ] Front-end: `frontend/.env.dist`\r\n - [ ] Backend: `backend/.env.dist`, `backend/.env.dist.staging`, `backend/.env.dist.staging`.\r\n - [ ] [Configuration docs](https://docs.crowd.dev/docs/configuration) have been updated.\r\n - [ ] Team members only: update environment variables in Password manager and update the team\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)). \r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met. \r\n- [ ] All changes have been tested in a staging site. \r\n- [ ] All changes are working locally running crowd.dev's Docker local environment.", - }, + assignee: { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, }, repository: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdDotDev/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { login: 'CrowdDotDev', id: 85551972, @@ -1838,76 +4930,74 @@ export default class TestEvents { type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdDotDev/crowd-postgres', - description: 'temporary monorepo (until oss launch)', + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/events', - assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/assignees{/user}', - branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/stargazers', - contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscribers', - subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/commits{/sha}', - git_commits_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/git/commits{/sha}', - comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues/comments{/number}', - contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/contents/{+path}', - compare_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/merges', - archive_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/pulls{/number}', - milestones_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-08-12T18:29:08Z', - pushed_at: '2022-08-21T13:49:08Z', - git_url: 'git://github.com/CrowdDotDev/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdDotDev/crowd-postgres.git', - clone_url: 'https://github.com/CrowdDotDev/crowd-postgres.git', - svn_url: 'https://github.com/CrowdDotDev/crowd-postgres', - homepage: '', - size: 25880, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T11:40:15Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25942, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 6, + open_issues_count: 86, license: { key: 'other', name: 'Other', @@ -1915,14 +5005,32 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, web_commit_signoff_required: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 6, - watchers: 1, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 86, + watchers: 554, default_branch: 'main', }, organization: { @@ -1937,209 +5045,282 @@ export default class TestEvents { members_url: 'https://api.github.com/orgs/CrowdDotDev/members{/member}', public_members_url: 'https://api.github.com/orgs/CrowdDotDev/public_members{/member}', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', - description: '', + description: + 'Open-source community and data tools built to unlock community-led growth for developer tools.', }, sender: { - login: 'anilb0stanci', - id: 94853297, - node_id: 'U_kgDOBadYsQ', - avatar_url: 'https://avatars.githubusercontent.com/u/94853297?v=4', + login: 'epipav', + id: 12017738, + node_id: 'MDQ6VXNlcjEyMDE3NzM4', + avatar_url: 'https://avatars.githubusercontent.com/u/12017738?v=4', gravatar_id: '', - url: 'https://api.github.com/users/anilb0stanci', - html_url: 'https://github.com/anilb0stanci', - followers_url: 'https://api.github.com/users/anilb0stanci/followers', - following_url: 'https://api.github.com/users/anilb0stanci/following{/other_user}', - gists_url: 'https://api.github.com/users/anilb0stanci/gists{/gist_id}', - starred_url: 'https://api.github.com/users/anilb0stanci/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/anilb0stanci/subscriptions', - organizations_url: 'https://api.github.com/users/anilb0stanci/orgs', - repos_url: 'https://api.github.com/users/anilb0stanci/repos', - events_url: 'https://api.github.com/users/anilb0stanci/events{/privacy}', - received_events_url: 'https://api.github.com/users/anilb0stanci/received_events', + url: 'https://api.github.com/users/epipav', + html_url: 'https://github.com/epipav', + followers_url: 'https://api.github.com/users/epipav/followers', + following_url: 'https://api.github.com/users/epipav/following{/other_user}', + gists_url: 'https://api.github.com/users/epipav/gists{/gist_id}', + starred_url: 'https://api.github.com/users/epipav/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/epipav/subscriptions', + organizations_url: 'https://api.github.com/users/epipav/orgs', + repos_url: 'https://api.github.com/users/epipav/repos', + events_url: 'https://api.github.com/users/epipav/events{/privacy}', + received_events_url: 'https://api.github.com/users/epipav/received_events', type: 'User', site_admin: false, }, installation: { - id: 23585816, - node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjQzMTA5NTc=', + id: 29211772, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjkyMTE3NzI=', }, }, - reopened: { - action: 'reopened', - number: 30, + review_requested: { + action: 'review_requested', + number: 897, pull_request: { - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', - id: 883733019, - node_id: 'PR_kwDOGsy6M840rLIb', - html_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', - diff_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.diff', - patch_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.patch', - issue_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', - number: 30, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/897', + id: 1362645865, + node_id: 'PR_kwDOHksjGM5ROFNp', + html_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/897', + diff_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/897.diff', + patch_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/897.patch', + issue_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/897', + number: 897, state: 'open', locked: false, - title: 'Feature/webhooks', + title: 'Boolean base filter', user: { - login: 'joanreyero', - id: 37874460, - node_id: 'MDQ6VXNlcjM3ODc0NDYw', - avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', gravatar_id: '', - url: 'https://api.github.com/users/joanreyero', - html_url: 'https://github.com/joanreyero', - followers_url: 'https://api.github.com/users/joanreyero/followers', - following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', - gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', - starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', - organizations_url: 'https://api.github.com/users/joanreyero/orgs', - repos_url: 'https://api.github.com/users/joanreyero/repos', - events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', - received_events_url: 'https://api.github.com/users/joanreyero/received_events', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', type: 'User', site_admin: false, }, - body: '# Description\r\n\r\n\r\n## Checklist šŸ”\r\n\r\nSome important checks that must be ensured before merging:\r\n\r\n### Deploy to staging\r\n\r\n#### Deployment checklist\r\n\r\n- [ ] Make sure all AWS Ī» functions are up to date with your version (if applicable)\r\n- [ ] Make sure the anton-environment and soa-environment are updated and pushed\r\n\r\n\r\n### Functionality\r\n\r\n- [ ] Has the functionality been checked in a normal staging tenant? (not local)\r\n- [ ] Has the functionality been checked in the large tenant? (team+large@crowd.dev)\r\n- [ ] Has the functionality been checked in an empty tenant? (team+empty@crowd.dev)\r\n- [ ] Is there any more edge cases that should be taken into account?\r\n\r\n### Code quality\r\n\r\n- [ ] Are there comments in the main functionality of the code?\r\n- [ ] Are all tests passing?\r\n- [ ] Are all URLs to external services in `.env` files? Never hard-coded\r\n- [ ] Are all secrets in `anton-environment`? Never, ever hard-coded\r\n\r\nšŸ”„šŸš€šŸ’ŖšŸ¼\r\n', - created_at: '2022-03-18T19:15:59Z', - updated_at: '2022-03-18T19:15:59Z', + body: '# Changes proposed āœļø\r\nimage\r\n\r\n\r\n### What\r\ncopilot:summary\r\n​\r\ncopilot:poem\r\n\r\n### Why\r\n\r\n\r\n### How\r\ncopilot:walkthrough\r\n\r\n## Checklist āœ…\r\n- [x] Label appropriately with `Feature`, `Improvement`, or `Bug`.\r\n- [ ] Add screehshots to the PR description for relevant FE changes\r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)).\r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met.\r\n', + created_at: '2023-05-24T08:36:33Z', + updated_at: '2023-05-24T08:36:33Z', closed_at: null, merged_at: null, merge_commit_sha: null, - assignee: null, - assignees: [], - requested_reviewers: [], + assignee: { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, + assignees: [ + { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, + ], + requested_reviewers: [ + { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, + }, + ], requested_teams: [], - labels: [], + labels: [ + { + id: 4771856507, + node_id: 'LA_kwDOHksjGM8AAAABHGzAew', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels/Feature', + name: 'Feature', + color: 'BB87FC', + default: false, + description: 'Created by Linear-GitHub Sync', + }, + ], milestone: null, draft: false, - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/897/commits', review_comments_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/897/comments', review_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/897/comments', statuses_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/bf1e4d306886ce988cbe085f7496127c360362a0', head: { - label: 'CrowdHQ:feature/webhooks', - ref: 'feature/webhooks', - sha: 'a36398d1b6aa55a6614db6dec1690c1f21baaef1', + label: 'CrowdDotDev:feature/boolean-base', + ref: 'feature/boolean-base', + sha: 'bf1e4d306886ce988cbe085f7496127c360362a0', user: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, repo: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdHQ/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', - type: 'Organization', - site_admin: false, - }, - html_url: 'https://github.com/CrowdHQ/crowd-postgres', - description: null, - fork: false, - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', - collaborators_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', - issue_events_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', - assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', - branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', - contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', - subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', - git_commits_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', + type: 'Organization', + site_admin: false, + }, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', + fork: false, + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', + collaborators_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', + issue_events_url: + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', - contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', compare_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', archive_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', milestones_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-03-09T10:53:04Z', - pushed_at: '2022-03-18T19:16:00Z', - git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', - clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', - svn_url: 'https://github.com/CrowdHQ/crowd-postgres', - homepage: null, - size: 7125, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T08:36:33Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25886, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 2, + open_issues_count: 86, license: { key: 'other', name: 'Other', @@ -2147,142 +5328,167 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 2, - watchers: 1, + web_commit_signoff_required: false, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 86, + watchers: 554, default_branch: 'main', allow_squash_merge: true, - allow_merge_commit: true, - allow_rebase_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, allow_auto_merge: false, - delete_branch_on_merge: false, - allow_update_branch: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', }, }, base: { - label: 'CrowdHQ:main', - ref: 'main', - sha: 'cc785a28b2dfc28f58bf457669ce5859f8c30593', + label: 'CrowdDotDev:feature/filters', + ref: 'feature/filters', + sha: 'cdf5317cc76c0943a23827e4b06499c84d46fcbf', user: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, repo: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdHQ/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdHQ/crowd-postgres', - description: null, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', - assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', - branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', - contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', - subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', - git_commits_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', - contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', compare_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', archive_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', milestones_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-03-09T10:53:04Z', - pushed_at: '2022-03-18T19:16:00Z', - git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', - clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', - svn_url: 'https://github.com/CrowdHQ/crowd-postgres', - homepage: null, - size: 7125, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T08:36:33Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25886, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 2, + open_issues_count: 86, license: { key: 'other', name: 'Other', @@ -2290,46 +5496,70 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 2, - watchers: 1, + web_commit_signoff_required: false, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 86, + watchers: 554, default_branch: 'main', allow_squash_merge: true, - allow_merge_commit: true, - allow_rebase_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, allow_auto_merge: false, - delete_branch_on_merge: false, - allow_update_branch: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', }, }, _links: { self: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/897', }, html: { - href: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', + href: 'https://github.com/CrowdDotDev/crowd.dev/pull/897', }, issue: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/897', }, comments: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/897/comments', }, review_comments: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/897/comments', }, review_comment: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', }, commits: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/897/commits', }, statuses: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/bf1e4d306886ce988cbe085f7496127c360362a0', }, }, author_association: 'CONTRIBUTOR', @@ -2343,103 +5573,125 @@ export default class TestEvents { comments: 0, review_comments: 0, maintainer_can_modify: false, - commits: 5, - additions: 1053, - deletions: 22, - changed_files: 11, + commits: 1, + additions: 179, + deletions: 32, + changed_files: 14, + }, + requested_reviewer: { + login: 'joanagmaia', + id: 20134207, + node_id: 'MDQ6VXNlcjIwMTM0MjA3', + avatar_url: 'https://avatars.githubusercontent.com/u/20134207?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/joanagmaia', + html_url: 'https://github.com/joanagmaia', + followers_url: 'https://api.github.com/users/joanagmaia/followers', + following_url: 'https://api.github.com/users/joanagmaia/following{/other_user}', + gists_url: 'https://api.github.com/users/joanagmaia/gists{/gist_id}', + starred_url: 'https://api.github.com/users/joanagmaia/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/joanagmaia/subscriptions', + organizations_url: 'https://api.github.com/users/joanagmaia/orgs', + repos_url: 'https://api.github.com/users/joanagmaia/repos', + events_url: 'https://api.github.com/users/joanagmaia/events{/privacy}', + received_events_url: 'https://api.github.com/users/joanagmaia/received_events', + type: 'User', + site_admin: false, }, repository: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdHQ/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdHQ/crowd-postgres', - description: null, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', - assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', - branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', - contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', - subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', - git_commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', - contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', - compare_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', - archive_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', - milestones_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-03-09T10:53:04Z', - pushed_at: '2022-03-18T19:16:00Z', - git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', - clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', - svn_url: 'https://github.com/CrowdHQ/crowd-postgres', - homepage: null, - size: 7125, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T08:36:33Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25886, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 2, + open_issues_count: 86, license: { key: 'other', name: 'Other', @@ -2447,230 +5699,301 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 2, - watchers: 1, + web_commit_signoff_required: false, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 86, + watchers: 554, default_branch: 'main', }, organization: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', - url: 'https://api.github.com/orgs/CrowdHQ', - repos_url: 'https://api.github.com/orgs/CrowdHQ/repos', - events_url: 'https://api.github.com/orgs/CrowdHQ/events', - hooks_url: 'https://api.github.com/orgs/CrowdHQ/hooks', - issues_url: 'https://api.github.com/orgs/CrowdHQ/issues', - members_url: 'https://api.github.com/orgs/CrowdHQ/members{/member}', - public_members_url: 'https://api.github.com/orgs/CrowdHQ/public_members{/member}', + url: 'https://api.github.com/orgs/CrowdDotDev', + repos_url: 'https://api.github.com/orgs/CrowdDotDev/repos', + events_url: 'https://api.github.com/orgs/CrowdDotDev/events', + hooks_url: 'https://api.github.com/orgs/CrowdDotDev/hooks', + issues_url: 'https://api.github.com/orgs/CrowdDotDev/issues', + members_url: 'https://api.github.com/orgs/CrowdDotDev/members{/member}', + public_members_url: 'https://api.github.com/orgs/CrowdDotDev/public_members{/member}', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', - description: '', + description: + 'Open-source community and data tools built to unlock community-led growth for developer tools.', }, sender: { - login: 'joanreyero', - id: 37874460, - node_id: 'MDQ6VXNlcjM3ODc0NDYw', - avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', gravatar_id: '', - url: 'https://api.github.com/users/joanreyero', - html_url: 'https://github.com/joanreyero', - followers_url: 'https://api.github.com/users/joanreyero/followers', - following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', - gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', - starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', - organizations_url: 'https://api.github.com/users/joanreyero/orgs', - repos_url: 'https://api.github.com/users/joanreyero/repos', - events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', - received_events_url: 'https://api.github.com/users/joanreyero/received_events', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', type: 'User', site_admin: false, }, installation: { - id: 23585816, - node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjM1ODU4MTY=', + id: 29211772, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjkyMTE3NzI=', }, }, - closed: { - action: 'closed', - number: 30, + merged: { + action: 'merged', + number: 896, pull_request: { - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', - id: 883733019, - node_id: 'PR_kwDOGsy6M840rLIb', - html_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', - diff_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.diff', - patch_url: 'https://github.com/CrowdHQ/crowd-postgres/pull/30.patch', - issue_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', - number: 30, - state: 'closed', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/896', + id: 1362439701, + node_id: 'PR_kwDOHksjGM5RNS4V', + html_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/896', + diff_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/896.diff', + patch_url: 'https://github.com/CrowdDotDev/crowd.dev/pull/896.patch', + issue_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/896', + number: 896, + state: 'merged', locked: false, - title: 'Feature/webhooks', + title: 'Hubspot book a call', user: { - login: 'joanreyero', - id: 37874460, - node_id: 'MDQ6VXNlcjM3ODc0NDYw', - avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', gravatar_id: '', - url: 'https://api.github.com/users/joanreyero', - html_url: 'https://github.com/joanreyero', - followers_url: 'https://api.github.com/users/joanreyero/followers', - following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', - gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', - starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', - organizations_url: 'https://api.github.com/users/joanreyero/orgs', - repos_url: 'https://api.github.com/users/joanreyero/repos', - events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', - received_events_url: 'https://api.github.com/users/joanreyero/received_events', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', type: 'User', site_admin: false, }, - body: '# Description\r\n\r\n\r\n## Checklist šŸ”\r\n\r\nSome important checks that must be ensured before merging:\r\n\r\n### Deploy to staging\r\n\r\n#### Deployment checklist\r\n\r\n- [ ] Make sure all AWS Ī» functions are up to date with your version (if applicable)\r\n- [ ] Make sure the anton-environment and soa-environment are updated and pushed\r\n\r\n\r\n### Functionality\r\n\r\n- [ ] Has the functionality been checked in a normal staging tenant? (not local)\r\n- [ ] Has the functionality been checked in the large tenant? (team+large@crowd.dev)\r\n- [ ] Has the functionality been checked in an empty tenant? (team+empty@crowd.dev)\r\n- [ ] Is there any more edge cases that should be taken into account?\r\n\r\n### Code quality\r\n\r\n- [ ] Are there comments in the main functionality of the code?\r\n- [ ] Are all tests passing?\r\n- [ ] Are all URLs to external services in `.env` files? Never hard-coded\r\n- [ ] Are all secrets in `anton-environment`? Never, ever hard-coded\r\n\r\nšŸ”„šŸš€šŸ’ŖšŸ¼\r\n', - created_at: '2022-03-18T19:15:59Z', - updated_at: '2022-03-18T19:18:54Z', - closed_at: '2022-03-18T19:18:54Z', - merged_at: null, - merge_commit_sha: '8b114a07a097b4903bde26918780edc0fc8ff707', - assignee: null, - assignees: [], + body: '# Changes proposed āœļø\r\nimage\r\n\r\n\r\n### What\r\n\n### šŸ¤– Generated by Copilot at a54ff06\n\nThis pull request adds the initial implementation of the HubSpot integration for the app, which allows users to book a custom plan consultation with CrowdDotDev. It adds a new `hubspot` module with its configuration and a custom connect component, and modifies the `integrations-config.js` and `integration-connect.vue` files to enable and render the integration.\r\n​\r\n\n### šŸ¤– Generated by Copilot at a54ff06\n\n> _We\'re building a bridge to the HubSpot realm_\n> _With a button of doom and a custom component_\n> _We\'re loading it dynamically with a conditional spell_\n> _We\'re adding it to the config, it\'s our final ascent_\r\n\r\n### Why\r\n\r\n\r\n### How\r\n\n### šŸ¤– Generated by Copilot at a54ff06\n\n* Add a new HubSpot integration that allows users to book a custom plan consultation with CrowdDotDev ([link](https://github.com/CrowdDotDev/crowd.dev/pull/896/files?diff=unified&w=0#diff-7078523d220bab5012a66ec2faabe0cef0ed4d714385e62a16ff802afd2cce41R1-R13), [link](https://github.com/CrowdDotDev/crowd.dev/pull/896/files?diff=unified&w=0#diff-de6ef036cf00503f519f1f15f641613fe22da0177f1e0b345e8aea6ac288a45eR1-R12), [link](https://github.com/CrowdDotDev/crowd.dev/pull/896/files?diff=unified&w=0#diff-16679253103a6ebf5da26212a4a7bd72a61d6ee8c5e53776f43ba5b8756cc10eR1-R3), [link](https://github.com/CrowdDotDev/crowd.dev/pull/896/files?diff=unified&w=0#diff-f07d5ed683ecfc23d0c65f6e2f467b3a7e5cf2aa76be9cb71d83f0994940b569R7), [link](https://github.com/CrowdDotDev/crowd.dev/pull/896/files?diff=unified&w=0#diff-f07d5ed683ecfc23d0c65f6e2f467b3a7e5cf2aa76be9cb71d83f0994940b569R33), [link](https://github.com/CrowdDotDev/crowd.dev/pull/896/files?diff=unified&w=0#diff-24fb48f9bdeccd0436bd8106f405e6a176e9ae94a8a44295c48ad4c6c6b6974cR35-R39))\r\n\r\n## Checklist āœ…\r\n- [x] Label appropriately with `Feature`, `Improvement`, or `Bug`.\r\n- [ ] Add screehshots to the PR description for relevant FE changes\r\n- [ ] New backend functionality has been unit-tested.\r\n- [ ] API documentation has been updated (if necessary) (see [docs on API documentation](https://docs.crowd.dev/docs/updating-api-documentation)).\r\n- [ ] [Quality standards](https://github.com/CrowdDotDev/crowd-github-test-public/blob/main/CONTRIBUTING.md#quality-standards) are met.\r\n', + created_at: '2023-05-24T06:03:07Z', + updated_at: '2023-05-24T08:37:07Z', + closed_at: '2023-05-24T08:37:06Z', + merged_at: '2023-05-24T08:37:06Z', + merge_commit_sha: '73d23c92e24621a5153d3c378deca3c8e6f050b7', + assignee: { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, + assignees: [ + { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, + ], requested_reviewers: [], requested_teams: [], - labels: [], + labels: [ + { + id: 4771856507, + node_id: 'LA_kwDOHksjGM8AAAABHGzAew', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels/Feature', + name: 'Feature', + color: 'BB87FC', + default: false, + description: 'Created by Linear-GitHub Sync', + }, + ], milestone: null, draft: false, - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/896/commits', review_comments_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/896/comments', review_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/896/comments', statuses_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/a54ff069ff46231c30406d2d88d5af16b57894ef', head: { - label: 'CrowdHQ:feature/webhooks', - ref: 'feature/webhooks', - sha: 'a36398d1b6aa55a6614db6dec1690c1f21baaef1', + label: 'CrowdDotDev:feature/hubspot-book-call', + ref: 'feature/hubspot-book-call', + sha: 'a54ff069ff46231c30406d2d88d5af16b57894ef', user: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, repo: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdHQ/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdHQ/crowd-postgres', - description: null, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', - assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', - branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', - contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', - subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', - git_commits_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', - contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', compare_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', archive_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', milestones_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-03-09T10:53:04Z', - pushed_at: '2022-03-18T19:16:00Z', - git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', - clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', - svn_url: 'https://github.com/CrowdHQ/crowd-postgres', - homepage: null, - size: 7125, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T08:37:06Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25886, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 1, + open_issues_count: 85, license: { key: 'other', name: 'Other', @@ -2678,142 +6001,167 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 1, - watchers: 1, + web_commit_signoff_required: false, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 85, + watchers: 554, default_branch: 'main', allow_squash_merge: true, - allow_merge_commit: true, - allow_rebase_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, allow_auto_merge: false, - delete_branch_on_merge: false, - allow_update_branch: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', }, }, base: { - label: 'CrowdHQ:main', + label: 'CrowdDotDev:main', ref: 'main', - sha: 'cc785a28b2dfc28f58bf457669ce5859f8c30593', + sha: 'a9493e2d08ae7b53625a32db59fc0cce0a9f2d01', user: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, repo: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdHQ/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdHQ/crowd-postgres', - description: null, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', - assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', - branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', - contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', - subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', - git_commits_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', - contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', compare_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', archive_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', milestones_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-03-09T10:53:04Z', - pushed_at: '2022-03-18T19:16:00Z', - git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', - clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', - svn_url: 'https://github.com/CrowdHQ/crowd-postgres', - homepage: null, - size: 7125, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T08:37:06Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25886, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 1, + open_issues_count: 85, license: { key: 'other', name: 'Other', @@ -2821,156 +6169,201 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 1, - watchers: 1, + web_commit_signoff_required: false, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 85, + watchers: 554, default_branch: 'main', allow_squash_merge: true, - allow_merge_commit: true, - allow_rebase_merge: true, + allow_merge_commit: false, + allow_rebase_merge: false, allow_auto_merge: false, - delete_branch_on_merge: false, - allow_update_branch: false, + delete_branch_on_merge: true, + allow_update_branch: true, + use_squash_pr_title_as_default: true, + squash_merge_commit_message: 'BLANK', + squash_merge_commit_title: 'PR_TITLE', + merge_commit_message: 'PR_TITLE', + merge_commit_title: 'MERGE_MESSAGE', }, }, _links: { self: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/896', }, html: { - href: 'https://github.com/CrowdHQ/crowd-postgres/pull/30', + href: 'https://github.com/CrowdDotDev/crowd.dev/pull/896', }, issue: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/896', }, comments: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/30/comments', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/896/comments', }, review_comments: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/comments', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/896/comments', }, review_comment: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/comments{/number}', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}', }, commits: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls/30/commits', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/896/commits', }, statuses: { - href: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/a36398d1b6aa55a6614db6dec1690c1f21baaef1', + href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/a54ff069ff46231c30406d2d88d5af16b57894ef', }, }, author_association: 'CONTRIBUTOR', auto_merge: null, active_lock_reason: null, - merged: false, - mergeable: true, - rebaseable: false, - mergeable_state: 'clean', - merged_by: null, + merged: true, + mergeable: null, + rebaseable: null, + mergeable_state: 'unknown', + merged_by: { + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', + gravatar_id: '', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', + type: 'User', + site_admin: false, + }, comments: 0, review_comments: 0, maintainer_can_modify: false, - commits: 5, - additions: 1053, - deletions: 22, - changed_files: 11, + commits: 1, + additions: 35, + deletions: 0, + changed_files: 6, }, repository: { - id: 449624627, - node_id: 'R_kgDOGsy6Mw', - name: 'crowd-postgres', - full_name: 'CrowdHQ/crowd-postgres', - private: true, + id: 508240664, + node_id: 'R_kgDOHksjGA', + name: 'crowd.dev', + full_name: 'CrowdDotDev/crowd.dev', + private: false, owner: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', gravatar_id: '', - url: 'https://api.github.com/users/CrowdHQ', - html_url: 'https://github.com/CrowdHQ', - followers_url: 'https://api.github.com/users/CrowdHQ/followers', - following_url: 'https://api.github.com/users/CrowdHQ/following{/other_user}', - gists_url: 'https://api.github.com/users/CrowdHQ/gists{/gist_id}', - starred_url: 'https://api.github.com/users/CrowdHQ/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/CrowdHQ/subscriptions', - organizations_url: 'https://api.github.com/users/CrowdHQ/orgs', - repos_url: 'https://api.github.com/users/CrowdHQ/repos', - events_url: 'https://api.github.com/users/CrowdHQ/events{/privacy}', - received_events_url: 'https://api.github.com/users/CrowdHQ/received_events', + url: 'https://api.github.com/users/CrowdDotDev', + html_url: 'https://github.com/CrowdDotDev', + followers_url: 'https://api.github.com/users/CrowdDotDev/followers', + following_url: 'https://api.github.com/users/CrowdDotDev/following{/other_user}', + gists_url: 'https://api.github.com/users/CrowdDotDev/gists{/gist_id}', + starred_url: 'https://api.github.com/users/CrowdDotDev/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/CrowdDotDev/subscriptions', + organizations_url: 'https://api.github.com/users/CrowdDotDev/orgs', + repos_url: 'https://api.github.com/users/CrowdDotDev/repos', + events_url: 'https://api.github.com/users/CrowdDotDev/events{/privacy}', + received_events_url: 'https://api.github.com/users/CrowdDotDev/received_events', type: 'Organization', site_admin: false, }, - html_url: 'https://github.com/CrowdHQ/crowd-postgres', - description: null, + html_url: 'https://github.com/CrowdDotDev/crowd.dev', + description: + 'An open-source platform to centralize community, product, and customer data in one place', fork: false, - url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres', - forks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/forks', - keys_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/keys{/key_id}', + url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev', + forks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/forks', + keys_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/keys{/key_id}', collaborators_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/collaborators{/collaborator}', - teams_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/teams', - hooks_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/hooks', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/collaborators{/collaborator}', + teams_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/teams', + hooks_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/hooks', issue_events_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/events{/number}', - events_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/events', - assignees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/assignees{/user}', - branches_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/branches{/branch}', - tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/tags', - blobs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/blobs{/sha}', - git_tags_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/tags{/sha}', - git_refs_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/refs{/sha}', - trees_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/trees{/sha}', - statuses_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/statuses/{sha}', - languages_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/languages', - stargazers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/stargazers', - contributors_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contributors', - subscribers_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscribers', - subscription_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/subscription', - commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/commits{/sha}', - git_commits_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/git/commits{/sha}', - comments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/comments{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/events{/number}', + events_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/events', + assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}', + branches_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/branches{/branch}', + tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/tags', + blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}', + git_tags_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/tags{/sha}', + git_refs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/refs{/sha}', + trees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/trees{/sha}', + statuses_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/{sha}', + languages_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/languages', + stargazers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/stargazers', + contributors_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contributors', + subscribers_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscribers', + subscription_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/subscription', + commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/commits{/sha}', + git_commits_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/commits{/sha}', + comments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/comments{/number}', issue_comment_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues/comments{/number}', - contents_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/contents/{+path}', - compare_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/compare/{base}...{head}', - merges_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/merges', - archive_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/{archive_format}{/ref}', - downloads_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/downloads', - issues_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/issues{/number}', - pulls_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/pulls{/number}', - milestones_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/milestones{/number}', + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/comments{/number}', + contents_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/contents/{+path}', + compare_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/compare/{base}...{head}', + merges_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/merges', + archive_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}', + downloads_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/downloads', + issues_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues{/number}', + pulls_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls{/number}', + milestones_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/milestones{/number}', notifications_url: - 'https://api.github.com/repos/CrowdHQ/crowd-postgres/notifications{?since,all,participating}', - labels_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/labels{/name}', - releases_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/releases{/id}', - deployments_url: 'https://api.github.com/repos/CrowdHQ/crowd-postgres/deployments', - created_at: '2022-01-19T09:22:07Z', - updated_at: '2022-03-09T10:53:04Z', - pushed_at: '2022-03-18T19:16:00Z', - git_url: 'git://github.com/CrowdHQ/crowd-postgres.git', - ssh_url: 'git@github.com:CrowdHQ/crowd-postgres.git', - clone_url: 'https://github.com/CrowdHQ/crowd-postgres.git', - svn_url: 'https://github.com/CrowdHQ/crowd-postgres', - homepage: null, - size: 7125, - stargazers_count: 1, - watchers_count: 1, + 'https://api.github.com/repos/CrowdDotDev/crowd.dev/notifications{?since,all,participating}', + labels_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/labels{/name}', + releases_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases{/id}', + deployments_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/deployments', + created_at: '2022-06-28T09:46:29Z', + updated_at: '2023-05-24T08:35:21Z', + pushed_at: '2023-05-24T08:37:06Z', + git_url: 'git://github.com/CrowdDotDev/crowd.dev.git', + ssh_url: 'git@github.com:CrowdDotDev/crowd.dev.git', + clone_url: 'https://github.com/CrowdDotDev/crowd.dev.git', + svn_url: 'https://github.com/CrowdDotDev/crowd.dev', + homepage: 'https://crowd.dev', + size: 25886, + stargazers_count: 554, + watchers_count: 554, language: 'TypeScript', has_issues: true, has_projects: true, has_downloads: true, has_wiki: true, has_pages: false, - forks_count: 0, + has_discussions: true, + forks_count: 51, mirror_url: null, archived: false, disabled: false, - open_issues_count: 1, + open_issues_count: 85, license: { key: 'other', name: 'Other', @@ -2978,52 +6371,72 @@ export default class TestEvents { url: null, node_id: 'MDc6TGljZW5zZTA=', }, - allow_forking: false, + allow_forking: true, is_template: false, - topics: [], - visibility: 'private', - forks: 0, - open_issues: 1, - watchers: 1, + web_commit_signoff_required: false, + topics: [ + 'analytics', + 'cdp', + 'community', + 'community-driven', + 'community-led-growth', + 'community-management', + 'customer-data-platform', + 'developer-advocacy', + 'developer-led-growth', + 'developer-marketing', + 'developer-relations', + 'devrel', + 'javascript', + 'postgres', + 'python', + 'typescript', + 'vue', + ], + visibility: 'public', + forks: 51, + open_issues: 85, + watchers: 554, default_branch: 'main', }, organization: { - login: 'CrowdHQ', + login: 'CrowdDotDev', id: 85551972, node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy', - url: 'https://api.github.com/orgs/CrowdHQ', - repos_url: 'https://api.github.com/orgs/CrowdHQ/repos', - events_url: 'https://api.github.com/orgs/CrowdHQ/events', - hooks_url: 'https://api.github.com/orgs/CrowdHQ/hooks', - issues_url: 'https://api.github.com/orgs/CrowdHQ/issues', - members_url: 'https://api.github.com/orgs/CrowdHQ/members{/member}', - public_members_url: 'https://api.github.com/orgs/CrowdHQ/public_members{/member}', + url: 'https://api.github.com/orgs/CrowdDotDev', + repos_url: 'https://api.github.com/orgs/CrowdDotDev/repos', + events_url: 'https://api.github.com/orgs/CrowdDotDev/events', + hooks_url: 'https://api.github.com/orgs/CrowdDotDev/hooks', + issues_url: 'https://api.github.com/orgs/CrowdDotDev/issues', + members_url: 'https://api.github.com/orgs/CrowdDotDev/members{/member}', + public_members_url: 'https://api.github.com/orgs/CrowdDotDev/public_members{/member}', avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4', - description: '', + description: + 'Open-source community and data tools built to unlock community-led growth for developer tools.', }, sender: { - login: 'joanreyero', - id: 37874460, - node_id: 'MDQ6VXNlcjM3ODc0NDYw', - avatar_url: 'https://avatars.githubusercontent.com/u/37874460?v=4', + login: 'gaspergrom', + id: 15195228, + node_id: 'MDQ6VXNlcjE1MTk1MjI4', + avatar_url: 'https://avatars.githubusercontent.com/u/15195228?v=4', gravatar_id: '', - url: 'https://api.github.com/users/joanreyero', - html_url: 'https://github.com/joanreyero', - followers_url: 'https://api.github.com/users/joanreyero/followers', - following_url: 'https://api.github.com/users/joanreyero/following{/other_user}', - gists_url: 'https://api.github.com/users/joanreyero/gists{/gist_id}', - starred_url: 'https://api.github.com/users/joanreyero/starred{/owner}{/repo}', - subscriptions_url: 'https://api.github.com/users/joanreyero/subscriptions', - organizations_url: 'https://api.github.com/users/joanreyero/orgs', - repos_url: 'https://api.github.com/users/joanreyero/repos', - events_url: 'https://api.github.com/users/joanreyero/events{/privacy}', - received_events_url: 'https://api.github.com/users/joanreyero/received_events', + url: 'https://api.github.com/users/gaspergrom', + html_url: 'https://github.com/gaspergrom', + followers_url: 'https://api.github.com/users/gaspergrom/followers', + following_url: 'https://api.github.com/users/gaspergrom/following{/other_user}', + gists_url: 'https://api.github.com/users/gaspergrom/gists{/gist_id}', + starred_url: 'https://api.github.com/users/gaspergrom/starred{/owner}{/repo}', + subscriptions_url: 'https://api.github.com/users/gaspergrom/subscriptions', + organizations_url: 'https://api.github.com/users/gaspergrom/orgs', + repos_url: 'https://api.github.com/users/gaspergrom/repos', + events_url: 'https://api.github.com/users/gaspergrom/events{/privacy}', + received_events_url: 'https://api.github.com/users/gaspergrom/received_events', type: 'User', site_admin: false, }, installation: { - id: 23585816, - node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjM1ODU4MTY=', + id: 29211772, + node_id: 'MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjkyMTE3NzI=', }, }, } diff --git a/backend/src/serverless/integrations/webhooks/__tests__/github.test.ts b/backend/src/serverless/integrations/webhooks/__tests__/github.test.ts index fa6af59d6e..de3c5c776e 100644 --- a/backend/src/serverless/integrations/webhooks/__tests__/github.test.ts +++ b/backend/src/serverless/integrations/webhooks/__tests__/github.test.ts @@ -344,12 +344,14 @@ describe('Github webhooks tests', () => { timestamp: new Date(TestEvents.issues.closed.issue.closed_at), platform: PlatformType.GITHUB, tenant: tenantId, - sourceId: TestEvents.issues.closed.issue.node_id, - sourceParentId: null, + sourceId: `gen-CE_${TestEvents.issues.closed.issue.node_id}_${ + TestEvents.issues.closed.sender.login + }_${new Date(TestEvents.issues.closed.issue.closed_at).toISOString()}`, + sourceParentId: TestEvents.issues.closed.issue.node_id, url: TestEvents.issues.closed.issue.html_url, - title: TestEvents.issues.closed.issue.title, + title: '', channel: TestEvents.issues.closed.repository.html_url, - body: TestEvents.issues.closed.issue.body, + body: '', attributes: { state: TestEvents.issues.closed.issue.state, }, @@ -682,7 +684,7 @@ describe('Github webhooks tests', () => { platform: PlatformType.GITHUB, tenant: tenantId, sourceId: `gen-CE_${TestEvents.pullRequests.closed.pull_request.node_id}_${ - TestEvents.pullRequests.closed.pull_request.user.login + TestEvents.pullRequests.closed.sender.login }_${new Date(TestEvents.pullRequests.closed.pull_request.updated_at).toISOString()}`, sourceParentId: TestEvents.pullRequests.closed.pull_request.node_id, url: TestEvents.pullRequests.closed.pull_request.html_url, @@ -703,6 +705,248 @@ describe('Github webhooks tests', () => { expect(pr).toStrictEqual(expected) }) + it('It should parse an assigned PR coming from the GitHub API', async () => { + const { tenantId, integration } = await init(true) + const context = await fakeContext(integration) + const pr = await GithubIntegrationService.parseWebhookPullRequest( + TestEvents.pullRequests.assigned, + context, + ) + + const expected = { + member: { + username: { + [PlatformType.GITHUB]: { + username: 'testMember', + integrationId: integration.id, + }, + }, + }, + username: 'testMember', + objectMemberUsername: 'testMember', + objectMember: { + username: { + [PlatformType.GITHUB]: { + username: 'testMember', + integrationId: integration.id, + }, + }, + }, + type: GithubActivityType.PULL_REQUEST_ASSIGNED, + timestamp: new Date(TestEvents.pullRequests.assigned.pull_request.updated_at), + platform: PlatformType.GITHUB, + tenant: tenantId, + sourceId: `gen-AE_${TestEvents.pullRequests.assigned.pull_request.node_id}_${ + TestEvents.pullRequests.assigned.sender.login + }_${TestEvents.pullRequests.assigned.assignee.login}_${new Date( + TestEvents.pullRequests.assigned.pull_request.updated_at, + ).toISOString()}`, + sourceParentId: TestEvents.pullRequests.assigned.pull_request.node_id, + url: TestEvents.pullRequests.assigned.pull_request.html_url, + title: '', + body: '', + channel: TestEvents.pullRequests.assigned.repository.html_url, + score: GitHubGrid.pullRequestAssigned.score, + isContribution: GitHubGrid.pullRequestAssigned.isContribution, + attributes: { + additions: TestEvents.pullRequests.assigned.pull_request.additions, + authorAssociation: TestEvents.pullRequests.assigned.pull_request.author_association, + changedFiles: TestEvents.pullRequests.assigned.pull_request.changed_files, + deletions: TestEvents.pullRequests.assigned.pull_request.deletions, + labels: TestEvents.pullRequests.assigned.pull_request.labels.map((l) => l.name), + state: TestEvents.pullRequests.assigned.pull_request.state, + }, + } + expect(pr).toStrictEqual(expected) + }) + + it('It should parse a review requested event coming from the GitHub API', async () => { + const { tenantId, integration } = await init(true) + const context = await fakeContext(integration) + const pr = await GithubIntegrationService.parseWebhookPullRequest( + TestEvents.pullRequests.review_requested, + context, + ) + + const expected = { + member: { + username: { + [PlatformType.GITHUB]: { + username: 'testMember', + integrationId: integration.id, + }, + }, + }, + username: 'testMember', + objectMemberUsername: 'testMember', + objectMember: { + username: { + [PlatformType.GITHUB]: { + username: 'testMember', + integrationId: integration.id, + }, + }, + }, + type: GithubActivityType.PULL_REQUEST_REVIEW_REQUESTED, + timestamp: new Date(TestEvents.pullRequests.review_requested.pull_request.updated_at), + platform: PlatformType.GITHUB, + tenant: tenantId, + sourceId: `gen-RRE_${TestEvents.pullRequests.review_requested.pull_request.node_id}_${ + TestEvents.pullRequests.review_requested.sender.login + }_${TestEvents.pullRequests.review_requested.requested_reviewer.login}_${new Date( + TestEvents.pullRequests.review_requested.pull_request.updated_at, + ).toISOString()}`, + sourceParentId: TestEvents.pullRequests.review_requested.pull_request.node_id, + url: TestEvents.pullRequests.review_requested.pull_request.html_url, + title: '', + body: '', + channel: TestEvents.pullRequests.review_requested.repository.html_url, + score: GitHubGrid.pullRequestAssigned.score, + isContribution: GitHubGrid.pullRequestAssigned.isContribution, + attributes: { + additions: TestEvents.pullRequests.review_requested.pull_request.additions, + authorAssociation: + TestEvents.pullRequests.review_requested.pull_request.author_association, + changedFiles: TestEvents.pullRequests.review_requested.pull_request.changed_files, + deletions: TestEvents.pullRequests.review_requested.pull_request.deletions, + labels: TestEvents.pullRequests.review_requested.pull_request.labels.map((l) => l.name), + state: TestEvents.pullRequests.review_requested.pull_request.state, + }, + } + expect(pr).toStrictEqual(expected) + }) + + it('It should parse a merged PR coming from the GitHub API', async () => { + const { tenantId, integration } = await init(true) + const context = await fakeContext(integration) + const pr = await GithubIntegrationService.parseWebhookPullRequest( + TestEvents.pullRequests.merged, + context, + ) + + const expected = { + member: { + username: { + [PlatformType.GITHUB]: { + username: 'testMember', + integrationId: integration.id, + }, + }, + }, + username: 'testMember', + objectMemberUsername: null, + objectMember: null, + type: GithubActivityType.PULL_REQUEST_MERGED, + timestamp: new Date(TestEvents.pullRequests.merged.pull_request.merged_at), + platform: PlatformType.GITHUB, + tenant: tenantId, + sourceId: `gen-ME_${TestEvents.pullRequests.merged.pull_request.node_id}_${ + TestEvents.pullRequests.merged.sender.login + }_${new Date(TestEvents.pullRequests.merged.pull_request.merged_at).toISOString()}`, + sourceParentId: TestEvents.pullRequests.merged.pull_request.node_id, + url: TestEvents.pullRequests.merged.pull_request.html_url, + title: '', + body: '', + channel: TestEvents.pullRequests.merged.repository.html_url, + score: GitHubGrid.pullRequestMerged.score, + isContribution: GitHubGrid.pullRequestMerged.isContribution, + attributes: { + additions: TestEvents.pullRequests.merged.pull_request.additions, + authorAssociation: TestEvents.pullRequests.merged.pull_request.author_association, + changedFiles: TestEvents.pullRequests.merged.pull_request.changed_files, + deletions: TestEvents.pullRequests.merged.pull_request.deletions, + labels: TestEvents.pullRequests.merged.pull_request.labels.map((l) => l.name), + state: TestEvents.pullRequests.merged.pull_request.state, + }, + } + expect(pr).toStrictEqual(expected) + }) + + it('It should parse a PR reviewed event coming from the GitHub API', async () => { + const { tenantId, integration } = await init(true) + const context = await fakeContext(integration) + const pr = await GithubIntegrationService.parseWebhookPullRequestReview( + TestEvents.pullRequestReviews.submitted, + context, + ) + + const expected = { + member: { + username: { + [PlatformType.GITHUB]: { + username: 'testMember', + integrationId: integration.id, + }, + }, + }, + username: 'testMember', + type: GithubActivityType.PULL_REQUEST_REVIEWED, + timestamp: new Date(TestEvents.pullRequestReviews.submitted.review.submitted_at), + platform: PlatformType.GITHUB, + tenant: tenantId, + sourceId: `gen-PRR_${TestEvents.pullRequestReviews.submitted.pull_request.node_id}_${ + TestEvents.pullRequestReviews.submitted.sender.login + }_${new Date(TestEvents.pullRequestReviews.submitted.review.submitted_at).toISOString()}`, + sourceParentId: TestEvents.pullRequestReviews.submitted.pull_request.node_id, + url: TestEvents.pullRequestReviews.submitted.pull_request.html_url, + title: '', + body: TestEvents.pullRequestReviews.submitted.review.body, + channel: TestEvents.pullRequestReviews.submitted.repository.html_url, + score: GitHubGrid.pullRequestReviewed.score, + isContribution: GitHubGrid.pullRequestReviewed.isContribution, + attributes: { + reviewState: TestEvents.pullRequestReviews.submitted.review.state.toUpperCase(), + authorAssociation: + TestEvents.pullRequestReviews.submitted.pull_request.author_association, + labels: TestEvents.pullRequestReviews.submitted.pull_request.labels.map((l) => l.name), + state: TestEvents.pullRequestReviews.submitted.pull_request.state, + }, + } + expect(pr).toStrictEqual(expected) + }) + + it('It should parse a PR review comment created event coming from the GitHub API', async () => { + const { tenantId, integration } = await init(true) + const context = await fakeContext(integration) + const pr = await GithubIntegrationService.parseWebhookPullRequestReviewThreadComment( + TestEvents.pullRequestReviewThreadComment.created, + context, + ) + + const expected = { + member: { + username: { + [PlatformType.GITHUB]: { + username: 'testMember', + integrationId: integration.id, + }, + }, + }, + username: 'testMember', + type: GithubActivityType.PULL_REQUEST_REVIEW_THREAD_COMMENT, + timestamp: new Date(TestEvents.pullRequestReviewThreadComment.created.comment.created_at), + platform: PlatformType.GITHUB, + tenant: tenantId, + sourceId: TestEvents.pullRequestReviewThreadComment.created.comment.node_id, + sourceParentId: TestEvents.pullRequestReviewThreadComment.created.pull_request.node_id, + url: TestEvents.pullRequestReviewThreadComment.created.comment.html_url, + title: '', + body: TestEvents.pullRequestReviewThreadComment.created.comment.body, + channel: TestEvents.pullRequestReviewThreadComment.created.repository.html_url, + score: GitHubGrid.comment.score, + isContribution: GitHubGrid.comment.isContribution, + attributes: { + authorAssociation: + TestEvents.pullRequestReviewThreadComment.created.pull_request.author_association, + labels: TestEvents.pullRequestReviewThreadComment.created.pull_request.labels.map( + (l) => l.name, + ), + state: TestEvents.pullRequestReviewThreadComment.created.pull_request.state, + }, + } + expect(pr).toStrictEqual(expected) + }) + it('processWebhook should not return any operations for unsupported actions', async () => { const { integration } = await init(true) const context = await fakeContext(integration) From b44447d96a23e0c35539b5813a16a7340046674e Mon Sep 17 00:00:00 2001 From: anilb Date: Thu, 25 May 2023 14:20:29 +0200 Subject: [PATCH 6/8] conditional outgoing webhook firing for integrations and continue-run script --- backend/src/bin/scripts/continue-run.ts | 21 ++++++++++++++++++- .../services/integrationRunProcessor.ts | 7 ++++++- backend/src/services/activityService.ts | 4 ++++ .../mq/nodeWorkerIntegrationProcessMessage.ts | 6 +++++- 4 files changed, 35 insertions(+), 3 deletions(-) diff --git a/backend/src/bin/scripts/continue-run.ts b/backend/src/bin/scripts/continue-run.ts index 5d434865ad..59fb62f519 100644 --- a/backend/src/bin/scripts/continue-run.ts +++ b/backend/src/bin/scripts/continue-run.ts @@ -24,6 +24,14 @@ const options = [ description: 'The unique ID of integration run that you would like to continue processing. Use comma delimiter when sending multiple integration runs.', }, + { + name: 'disableFiringCrowdWebhooks', + alias: 'd', + typeLabel: '{underline disableFiringCrowdWebhooks}', + type: Boolean, + defaultOption: false, + description: 'Should it disable firing outgoing crowd webhooks?', + }, { name: 'help', alias: 'h', @@ -55,6 +63,8 @@ if (parameters.help && !parameters.run) { setImmediate(async () => { const options = await SequelizeRepository.getDefaultIRepositoryOptions() + const fireCrowdWebhooks = !parameters.disableFiringCrowdWebhooks + const runRepo = new IntegrationRunRepository(options) const runIds = parameters.run.split(',') @@ -75,7 +85,16 @@ if (parameters.help && !parameters.run) { await runRepo.restart(run.id) } - await sendNodeWorkerMessage(run.tenantId, new NodeWorkerIntegrationProcessMessage(run.id)) + if (!fireCrowdWebhooks) { + log.info( + 'fireCrowdWebhooks is false - This continue-run will not trigger outgoing crowd webhooks!', + ) + } + + await sendNodeWorkerMessage( + run.tenantId, + new NodeWorkerIntegrationProcessMessage(run.id, null, fireCrowdWebhooks), + ) } } diff --git a/backend/src/serverless/integrations/services/integrationRunProcessor.ts b/backend/src/serverless/integrations/services/integrationRunProcessor.ts index 1c59bf13ec..a69a29b5e2 100644 --- a/backend/src/serverless/integrations/services/integrationRunProcessor.ts +++ b/backend/src/serverless/integrations/services/integrationRunProcessor.ts @@ -364,7 +364,12 @@ export class IntegrationRunProcessor extends LoggingBase { `Processing bulk operation with ${operation.records.length} records!`, ) stepContext.limitCount += operation.records.length - await bulkOperations(operation.type, operation.records, userContext) + await bulkOperations( + operation.type, + operation.records, + userContext, + req.fireCrowdWebhooks ?? true, + ) } } diff --git a/backend/src/services/activityService.ts b/backend/src/services/activityService.ts index 1a9fc8010f..0c0405a003 100644 --- a/backend/src/services/activityService.ts +++ b/backend/src/services/activityService.ts @@ -172,6 +172,10 @@ export default class ActivityService extends LoggingBase { } } + if (!fireCrowdWebhooks) { + this.log.info('Ignoring outgoing webhooks because of fireCrowdWebhooks!') + } + return record } catch (error) { if (error.name && error.name.includes('Sequelize')) { diff --git a/backend/src/types/mq/nodeWorkerIntegrationProcessMessage.ts b/backend/src/types/mq/nodeWorkerIntegrationProcessMessage.ts index e19441b818..ee1481010c 100644 --- a/backend/src/types/mq/nodeWorkerIntegrationProcessMessage.ts +++ b/backend/src/types/mq/nodeWorkerIntegrationProcessMessage.ts @@ -9,7 +9,11 @@ export interface IIntegrationStreamRetry { } export class NodeWorkerIntegrationProcessMessage extends NodeWorkerMessageBase { - constructor(public readonly runId: string, public readonly streamId?: string) { + constructor( + public readonly runId: string, + public readonly streamId?: string, + public readonly fireCrowdWebhooks?: boolean, + ) { super(NodeWorkerMessageType.INTEGRATION_PROCESS) } } From 07cd3c88176e30d0d1533bde603318a4db3a841b Mon Sep 17 00:00:00 2001 From: anilb Date: Thu, 25 May 2023 14:29:15 +0200 Subject: [PATCH 7/8] logging for member outgoing webhooks --- backend/src/services/memberService.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/services/memberService.ts b/backend/src/services/memberService.ts index fe7ea58c02..6e92ece365 100644 --- a/backend/src/services/memberService.ts +++ b/backend/src/services/memberService.ts @@ -382,6 +382,10 @@ export default class MemberService extends LoggingBase { } } + if (!fireCrowdWebhooks) { + this.log.info('Ignoring outgoing webhooks because of fireCrowdWebhooks!') + } + return record } catch (error) { const reason = errorDetails.reason || undefined From e90aaec3e3178b970b9412ccb765ec461e943cc4 Mon Sep 17 00:00:00 2001 From: anilb Date: Thu, 25 May 2023 15:40:20 +0200 Subject: [PATCH 8/8] conditional outgoing webhook firing for process-integration script --- backend/src/bin/scripts/process-integration.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/backend/src/bin/scripts/process-integration.ts b/backend/src/bin/scripts/process-integration.ts index bf073ecc57..e5aabafd6d 100644 --- a/backend/src/bin/scripts/process-integration.ts +++ b/backend/src/bin/scripts/process-integration.ts @@ -33,6 +33,14 @@ const options = [ type: Boolean, defaultValue: false, }, + { + name: 'disableFiringCrowdWebhooks', + alias: 'd', + typeLabel: '{underline disableFiringCrowdWebhooks}', + type: Boolean, + defaultOption: false, + description: 'Should it disable firing outgoing crowd webhooks?', + }, { name: 'platform', alias: 'p', @@ -70,6 +78,8 @@ if (parameters.help || (!parameters.integration && !parameters.platform)) { const onboarding = parameters.onboarding const options = await SequelizeRepository.getDefaultIRepositoryOptions() + const fireCrowdWebhooks = !parameters.disableFiringCrowdWebhooks + const runRepo = new IntegrationRunRepository(options) if (parameters.platform) { @@ -96,7 +106,7 @@ if (parameters.help || (!parameters.integration && !parameters.platform)) { await sendNodeWorkerMessage( integration.tenantId, - new NodeWorkerIntegrationProcessMessage(run.id), + new NodeWorkerIntegrationProcessMessage(run.id, null, fireCrowdWebhooks), ) } }, @@ -128,7 +138,7 @@ if (parameters.help || (!parameters.integration && !parameters.platform)) { await sendNodeWorkerMessage( integration.tenantId, - new NodeWorkerIntegrationProcessMessage(run.id), + new NodeWorkerIntegrationProcessMessage(run.id, null, fireCrowdWebhooks), ) } }