diff --git a/.cspell.json b/.cspell.json index 002b1049..6bf60054 100644 --- a/.cspell.json +++ b/.cspell.json @@ -4,7 +4,7 @@ "ignorePaths": ["**/*.json", "**/*.css", "node_modules", "**/*.log"], "useGitignore": true, "language": "en", - "words": ["dataurl", "devpool", "outdir", "servedir", "ubiquibot", "tiktoken", "typebox"], + "words": ["dataurl", "devpool", "outdir", "servedir", "ubiquibot", "tiktoken", "typebox", "supabase", "wxdai", "noopener"], "dictionaries": ["typescript", "node", "software-terms"], "import": ["@cspell/dict-typescript/cspell-ext.json", "@cspell/dict-node/cspell-ext.json", "@cspell/dict-software-terms"], "ignoreRegExpList": ["[0-9a-fA-F]{6}"] diff --git a/.github/workflows/cspell.yml b/.github/workflows/cspell.yml index c81c97a0..33422f94 100644 --- a/.github/workflows/cspell.yml +++ b/.github/workflows/cspell.yml @@ -2,6 +2,7 @@ name: Spell Check on: push: + pull_request: jobs: spellcheck: diff --git a/.gitignore b/.gitignore index 599b7745..dc806685 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ node_modules static/dist .env junit.xml +coverage diff --git a/knip.ts b/knip.ts index 8d024576..e7f75a5d 100644 --- a/knip.ts +++ b/knip.ts @@ -5,7 +5,7 @@ const config: KnipConfig = { project: ["src/**/*.ts"], ignore: ["src/data-collection/examples/*.ts", "src/configuration/common-config-type.ts"], ignoreExportsUsedInFile: true, - ignoreDependencies: ["ts-node"], + ignoreDependencies: ["ts-node", "msw"], jest: { config: ["jest.config.ts"], entry: ["src/**/*.test.ts"], diff --git a/package.json b/package.json index 2893f048..aaf667b1 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@octokit/rest": "20.1.0", "@sinclair/typebox": "0.32.20", "@supabase/supabase-js": "2.42.0", - "@ubiquibot/permit-generation": "1.0.3", + "@ubiquibot/permit-generation": "1.2.1", "commander": "12.0.0", "decimal.js": "10.4.3", "dotenv": "16.4.5", @@ -56,7 +56,7 @@ "@types/node": "20.11.28", "@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/parser": "6.21.0", - "babel-jest": "^29.7.0", + "babel-jest": "29.7.0", "cspell": "8.3.2", "eslint": "8.56.0", "eslint-plugin-sonarjs": "0.23.0", @@ -65,6 +65,7 @@ "jest-junit": "16.0.0", "knip": "5.7.0", "lint-staged": "15.2.2", + "msw": "2.2.14", "npm-run-all": "4.1.5", "prettier": "3.2.5", "ts-node": "10.9.2", diff --git a/rewards-configuration.default.yml b/rewards-configuration.default.yml index d135b902..0ab07260 100644 --- a/rewards-configuration.default.yml +++ b/rewards-configuration.default.yml @@ -1,4 +1,4 @@ -#disabled: true +enabled: true contentEvaluator: enabled: true userExtractor: @@ -27,29 +27,39 @@ formattingEvaluator: td: 1 hr: 0 multipliers: - - type: [ISSUE, ISSUER]: + - type: [ISSUE, ISSUER, TASK]: + formattingMultiplier: 1 + wordValue: 0.1 + - type: [ISSUE, ISSUER, COMMENTED]: formattingMultiplier: 1 wordValue: 0.2 - - type: [ISSUE, ASSIGNEE]: + - type: [ISSUE, ASSIGNEE, COMMENTED]: formattingMultiplier: 0 wordValue: 0 - - type: [ISSUE, COLLABORATOR]: + - type: [ISSUE, COLLABORATOR, COMMENTED]: formattingMultiplier: 1 wordValue: 0.1 - - type: [ISSUE, CONTRIBUTOR]: + - type: [ISSUE, CONTRIBUTOR, COMMENTED]: formattingMultiplier: 0.25 wordValue: 0.1 - - type: [REVIEW, ISSUER]: + - type: [REVIEW, ISSUER, SPECIFICATION]: + formattingMultiplier: 0 + wordValue: 0 + - type: [REVIEW, ISSUER, COMMENTED]: formattingMultiplier: 2 wordValue: 0.2 - - type: [REVIEW, ASSIGNEE]: + - type: [REVIEW, ASSIGNEE, COMMENTED]: formattingMultiplier: 1 wordValue: 0.1 - - type: [REVIEW, COLLABORATOR]: + - type: [REVIEW, COLLABORATOR, COMMENTED]: formattingMultiplier: 1 wordValue: 0.1 - - type: [REVIEW, CONTRIBUTOR]: + - type: [REVIEW, CONTRIBUTOR, COMMENTED]: formattingMultiplier: 0.25 wordValue: 0.1 permitGeneration: enabled: true +githubComment: + enabled: true + post: false + debug: true diff --git a/src/configuration/github-comment-config.ts b/src/configuration/github-comment-config.ts new file mode 100644 index 00000000..74e3794c --- /dev/null +++ b/src/configuration/github-comment-config.ts @@ -0,0 +1,11 @@ +import { Static, Type } from "@sinclair/typebox"; + +const githubCommentConfigurationType = Type.Object({ + enabled: Type.Boolean({ default: true }), + post: Type.Boolean({ default: true }), + debug: Type.Boolean({ default: false }), +}); + +export type GithubCommentConfiguration = Static; + +export default githubCommentConfigurationType; diff --git a/src/issue-activity.ts b/src/issue-activity.ts index 70a42e50..156c0368 100644 --- a/src/issue-activity.ts +++ b/src/issue-activity.ts @@ -19,12 +19,42 @@ import { } from "./start"; export enum CommentType { + /** + * Review related item + */ REVIEW = 0b1, + /** + * Issue related item + */ ISSUE = 0b10, + /** + * User assigned to the {@link CommentType.ISSUE} or {@link CommentType.REVIEW} + */ ASSIGNEE = 0b100, + /** + * The author of the {@link CommentType.ISSUE} or {@link CommentType.REVIEW} + */ ISSUER = 0b1000, + /** + * A user that is part of the organization or owner of the repo + */ COLLABORATOR = 0b10000, + /** + * A user that is NOT part of the organization nor owner of the repo + */ CONTRIBUTOR = 0b100000, + /** + * A user comment action on a {@link CommentType.ISSUE} or {@link CommentType.REVIEW} + */ + COMMENTED = 0b1000000, + /** + * Pull request opening item + */ + TASK = 0b10000000, + /** + * Issue opening item + */ + SPECIFICATION = 0b100000000, } export class IssueActivity { @@ -73,14 +103,19 @@ export class IssueActivity { self: GitHubPullRequest | GitHubIssue | null ) { let ret = 0; - ret |= "pull_request_review_id" in comment ? CommentType.REVIEW : CommentType.ISSUE; + ret |= "pull_request_review_id" in comment || "draft" in comment ? CommentType.REVIEW : CommentType.ISSUE; + if (comment.id === self?.id) { + ret |= ret & CommentType.ISSUE ? CommentType.TASK : CommentType.SPECIFICATION; + } else { + ret |= CommentType.COMMENTED; + } if (comment.user?.id === self?.user?.id) { ret |= CommentType.ISSUER; } else if (comment.user?.id === self?.assignee?.id) { ret |= CommentType.ASSIGNEE; - } else if (comment.author_association === "MEMBER") { + } else if (comment.author_association === "MEMBER" || comment.author_association === "COLLABORATOR") { ret |= CommentType.COLLABORATOR; - } else if (comment.author_association === "CONTRIBUTOR") { + } else { ret |= CommentType.CONTRIBUTOR; } return ret; diff --git a/src/parser/data-purge-module.ts b/src/parser/data-purge-module.ts index 9de026d0..b65e8b4b 100644 --- a/src/parser/data-purge-module.ts +++ b/src/parser/data-purge-module.ts @@ -12,7 +12,7 @@ export class DataPurgeModule implements Module { return this.configuration.enabled; } - transform(data: Readonly, result: Result) { + async transform(data: Readonly, result: Result) { for (const comment of data.allComments) { if (comment.body && comment.user?.login && result[comment.user.login]) { const newContent = comment.body @@ -33,6 +33,6 @@ export class DataPurgeModule implements Module { } } } - return Promise.resolve(result); + return result; } } diff --git a/src/parser/formatting-evaluator-module.ts b/src/parser/formatting-evaluator-module.ts index afc9b53c..ba806a73 100644 --- a/src/parser/formatting-evaluator-module.ts +++ b/src/parser/formatting-evaluator-module.ts @@ -33,7 +33,7 @@ export class FormattingEvaluatorModule implements Module { } } - transform(data: Readonly, result: Result) { + async transform(data: Readonly, result: Result) { for (const key of Object.keys(result)) { const currentElement = result[key]; const comments = currentElement.comments || []; @@ -64,7 +64,7 @@ export class FormattingEvaluatorModule implements Module { }; } } - return Promise.resolve(result); + return result; } get enabled(): boolean { diff --git a/src/parser/github-comment-module.ts b/src/parser/github-comment-module.ts new file mode 100644 index 00000000..e7622191 --- /dev/null +++ b/src/parser/github-comment-module.ts @@ -0,0 +1,219 @@ +import { Value } from "@sinclair/typebox/value"; +import Decimal from "decimal.js"; +import * as fs from "fs"; +import { stringify } from "yaml"; +import configuration from "../configuration/config-reader"; +import githubCommentConfig, { GithubCommentConfiguration } from "../configuration/github-comment-config"; +import { getOctokitInstance } from "../get-authentication-token"; +import { CommentType, IssueActivity } from "../issue-activity"; +import { parseGitHubUrl } from "../start"; +import { getPayoutConfigByNetworkId } from "../types/payout"; +import program from "./command-line"; +import { GithubCommentScore, Module, Result } from "./processor"; + +interface SortedTasks { + issues: { task: GithubCommentScore | null; comments: GithubCommentScore[] }; + reviews: GithubCommentScore[]; +} + +/** + * Posts a GitHub comment according to the given results. + */ +export class GithubCommentModule implements Module { + private readonly _configuration: GithubCommentConfiguration = configuration.githubComment; + private readonly _debugFilePath = "./output.html"; + + async transform(data: Readonly, result: Result): Promise { + const bodyArray: (string | undefined)[] = []; + + for (const [key, value] of Object.entries(result)) { + result[key].evaluationCommentHtml = this._generateHtml(key, value); + bodyArray.push(result[key].evaluationCommentHtml); + } + const body = bodyArray.join(""); + if (this._configuration.debug) { + fs.writeFileSync(this._debugFilePath, body); + } + if (this._configuration.post) { + try { + const octokit = getOctokitInstance(); + const { owner, repo, issue_number } = parseGitHubUrl(program.opts().issue); + + await octokit.issues.createComment({ + body, + repo, + owner, + issue_number, + }); + } catch (e) { + console.error(`Could not post GitHub comment: ${e}`); + } + } + return result; + } + + get enabled(): boolean { + if (!Value.Check(githubCommentConfig, this._configuration)) { + console.warn("Invalid configuration detected for GithubContentModule, disabling."); + return false; + } + return true; + } + + _generateHtml(username: string, result: Result[0]) { + const sortedTasks = result.comments?.reduce( + (acc, curr) => { + if (curr.type & CommentType.ISSUE) { + if (curr.type & CommentType.TASK) { + acc.issues.task = curr; + } else { + acc.issues.comments.push(curr); + } + } else if (curr.type & CommentType.REVIEW) { + acc.reviews.push(curr); + } + return acc; + }, + { issues: { task: null, comments: [] }, reviews: [] } + ); + + return ` +
+ + +

+ + [ ${result.total} ${getPayoutConfigByNetworkId(program.opts().evmNetworkId).symbol} ] + +

+
+ @${username} +
+
+
+
Contributions Overview
+ + + + + + + + + + + ${this._createContributionRows(result, sortedTasks)} + +
ViewContributionCountReward
+
Conversation Incentives
+ + + + + + + + + + + ${this._createIncentiveRows(sortedTasks)} + +
CommentFormattingRelevanceReward
+
+ ` + .replace(/\s+/g, " ") + .trim(); + } + + _createContributionRows(result: Result[0], sortedTasks: SortedTasks | undefined) { + const content: string[] = []; + + if (!sortedTasks) { + return content.join(""); + } + + function buildContributionRow( + view: string, + contribution: string, + count: number, + reward: number | Decimal | undefined + ) { + return ` + + ${view} + ${contribution} + ${count} + ${reward || "-"} + `; + } + + if (result.task?.reward) { + content.push(buildContributionRow("Issue", "Task", 1, result.task.reward)); + } + if (sortedTasks.issues.task) { + content.push(buildContributionRow("Issue", "Specification", 1, sortedTasks.issues.task.score?.reward)); + } + if (sortedTasks.issues.comments.length) { + content.push( + buildContributionRow( + "Issue", + "Comment", + sortedTasks.issues.comments.length, + sortedTasks.issues.comments.reduce((acc, curr) => acc.add(curr.score?.reward ?? 0), new Decimal(0)) + ) + ); + } + if (sortedTasks.reviews.length) { + content.push( + buildContributionRow( + "Review", + "Comment", + sortedTasks.reviews.length, + sortedTasks.reviews.reduce((acc, curr) => acc.add(curr.score?.reward ?? 0), new Decimal(0)) + ) + ); + } + return content.join(""); + } + + _createIncentiveRows(sortedTasks: SortedTasks | undefined) { + const content: string[] = []; + + if (!sortedTasks) { + return content.join(""); + } + + function buildIncentiveRow(commentScore: GithubCommentScore) { + // Properly escape carriage returns for HTML rendering + const formatting = stringify(commentScore.score?.formatting?.content).replace(/[\n\r]/g, " "); + return ` + + +
+ ${commentScore.content.replace(/(.{64})..+/, "$1…")} +
+ + +
+ + ${Object.values(commentScore.score?.formatting?.content || {}).reduce((acc, curr) => { + return acc.add(curr.score * curr.count); + }, new Decimal(0))} + +
${formatting}
+
+ + ${commentScore.score?.relevance || "-"} + ${commentScore.score?.reward || "-"} + `; + } + + for (const issueComment of sortedTasks.issues.comments) { + content.push(buildIncentiveRow(issueComment)); + } + for (const reviewComment of sortedTasks.reviews) { + content.push(buildIncentiveRow(reviewComment)); + } + return content.join(""); + } +} diff --git a/src/parser/permit-generation-module.ts b/src/parser/permit-generation-module.ts index a71619e1..74fd20d2 100644 --- a/src/parser/permit-generation-module.ts +++ b/src/parser/permit-generation-module.ts @@ -9,13 +9,15 @@ import { generatePayoutPermit, SupportedEvents, TokenType, -} from "@ubiquibot/permit-generation"; +} from "@ubiquibot/permit-generation/core"; import configuration from "../configuration/config-reader"; import permitGenerationConfigurationType, { PermitGenerationConfiguration, } from "../configuration/permit-generation-configuration"; import { getOctokitInstance } from "../get-authentication-token"; import { IssueActivity } from "../issue-activity"; +import envConfigSchema, { EnvConfigType } from "../types/env-type"; +import program from "./command-line"; import { Module, Result } from "./processor"; interface Payload { @@ -30,12 +32,21 @@ export class PermitGenerationModule implements Module { readonly _supabase = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_KEY); async transform(data: Readonly, result: Result): Promise { - const payload: Context["payload"] & Payload = context.payload.inputs; + const payload: Context["payload"] & Payload = { + ...context.payload.inputs, + issueUrl: program.opts().issue, + evmPrivateEncrypted: program.opts().evmPrivateEncrypted, + evmNetworkId: program.opts().evmNetworkId, + }; const issueId = Number(payload.issueUrl.match(/[0-9]+$/)?.[1]); payload.issue = { id: issueId, }; - const env = process.env; + const env: EnvConfigType = process.env; + if (!Value.Check(envConfigSchema, env)) { + console.warn("[PermitGenerationModule] Invalid env detected, skipping."); + return Promise.resolve(result); + } const eventName = context.eventName as SupportedEvents; const octokit = getOctokitInstance(); const logger = { @@ -96,7 +107,7 @@ export class PermitGenerationModule implements Module { console.error(e); } } - return Promise.resolve(result); + return result; } get enabled(): boolean { diff --git a/src/parser/processor.ts b/src/parser/processor.ts index e105d539..2ada04d7 100644 --- a/src/parser/processor.ts +++ b/src/parser/processor.ts @@ -6,20 +6,23 @@ import program from "./command-line"; import { ContentEvaluatorModule } from "./content-evaluator-module"; import { DataPurgeModule } from "./data-purge-module"; import { FormattingEvaluatorModule } from "./formatting-evaluator-module"; +import { GithubCommentModule } from "./github-comment-module"; import { PermitGenerationModule } from "./permit-generation-module"; import { UserExtractorModule } from "./user-extractor-module"; +import { BaseConfiguration } from "../configuration/common-config-type"; export class Processor { private _transformers: Module[] = []; private _result: Result = {}; - private readonly _configuration = configuration; + private readonly _configuration: BaseConfiguration = configuration; constructor() { this.add(new UserExtractorModule()) .add(new DataPurgeModule()) .add(new FormattingEvaluatorModule()) .add(new ContentEvaluatorModule()) - .add(new PermitGenerationModule()); + .add(new PermitGenerationModule()) + .add(new GithubCommentModule()); } add(transformer: Module) { @@ -28,7 +31,7 @@ export class Processor { } async run(data: Readonly) { - if (this._configuration.disabled) { + if (!this._configuration.enabled) { console.log("Module is disabled. Skipping..."); return; } @@ -100,6 +103,7 @@ export interface Result { }; permitUrl?: string; userId: number; + evaluationCommentHtml?: string; }; } diff --git a/src/parser/user-extractor-module.ts b/src/parser/user-extractor-module.ts index 08ad86b9..8e45722c 100644 --- a/src/parser/user-extractor-module.ts +++ b/src/parser/user-extractor-module.ts @@ -52,7 +52,7 @@ export class UserExtractorModule implements Module { return sortedPriceLabels[0]; } - transform(data: Readonly, result: Result) { + async transform(data: Readonly, result: Result): Promise { for (const comment of data.allComments) { if (comment.user && comment.body && this._checkEntryValidity(comment)) { const task = @@ -69,6 +69,6 @@ export class UserExtractorModule implements Module { }; } } - return Promise.resolve(result); + return result; } } diff --git a/src/types/env-type.ts b/src/types/env-type.ts new file mode 100644 index 00000000..b2f356ac --- /dev/null +++ b/src/types/env-type.ts @@ -0,0 +1,15 @@ +import { Type, Static } from "@sinclair/typebox"; + +const envConfigSchema = Type.Object({ + SUPABASE_URL: Type.String(), + SUPABASE_KEY: Type.String(), + GITHUB_TOKEN: Type.String(), + X25519_PRIVATE_KEY: Type.String(), + OPENAI_API_KEY: Type.String(), + NFT_MINTER_PRIVATE_KEY: Type.String(), + NFT_CONTRACT_ADDRESS: Type.String(), +}); + +export type EnvConfigType = Static; + +export default envConfigSchema; diff --git a/src/types/payout.ts b/src/types/payout.ts new file mode 100644 index 00000000..ba7fa221 --- /dev/null +++ b/src/types/payout.ts @@ -0,0 +1,22 @@ +// available tokens for payouts +export const PAYMENT_TOKEN_PER_NETWORK: Record = { + "1": { + rpc: "https://rpc.mevblocker.io/", + token: "0x6B175474E89094C44Da98b954EedeAC495271d0F", + symbol: "DAI", + }, + "100": { + rpc: "https://rpc.gnosischain.com", + token: "0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d", + symbol: "WXDAI", + }, +}; + +export function getPayoutConfigByNetworkId(evmNetworkId: number) { + const paymentToken = PAYMENT_TOKEN_PER_NETWORK[evmNetworkId.toString()]; + if (!paymentToken) { + throw new Error(`No config setup for evmNetworkId: ${evmNetworkId}`); + } + + return paymentToken; +} diff --git a/tests/__mocks__/handlers.ts b/tests/__mocks__/handlers.ts new file mode 100644 index 00000000..891d1678 --- /dev/null +++ b/tests/__mocks__/handlers.ts @@ -0,0 +1,35 @@ +import { http, HttpResponse } from "msw"; +import issueGet from "./routes/issue-get.json"; +import issueEventsGet from "./routes/issue-events-get.json"; +import issueCommentsGet from "./routes/issue-comments-get.json"; +import issueTimelineGet from "./routes/issue-timeline-get.json"; +import pullsGet from "./routes/pulls-get.json"; +import pullsReviewsGet from "./routes/pulls-reviews-get.json"; +import pullsCommentsGet from "./routes/pulls-comments-get.json"; + +/** + * Intercepts the routes and returns a custom payload + */ +export const handlers = [ + http.get("https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", () => { + return HttpResponse.json(issueGet); + }), + http.get("https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/events", () => { + return HttpResponse.json(issueEventsGet); + }), + http.get("https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/comments", () => { + return HttpResponse.json(issueCommentsGet); + }), + http.get("https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/timeline", () => { + return HttpResponse.json(issueTimelineGet); + }), + http.get("https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25", () => { + return HttpResponse.json(pullsGet); + }), + http.get("https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25/reviews", () => { + return HttpResponse.json(pullsReviewsGet); + }), + http.get("https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25/comments", () => { + return HttpResponse.json(pullsCommentsGet); + }), +]; diff --git a/tests/__mocks__/node.ts b/tests/__mocks__/node.ts new file mode 100644 index 00000000..7b37f2ac --- /dev/null +++ b/tests/__mocks__/node.ts @@ -0,0 +1,4 @@ +import { setupServer } from "msw/node"; +import { handlers } from "./handlers"; + +export const server = setupServer(...handlers); diff --git a/tests/__mocks__/results/data-purge-result.json b/tests/__mocks__/results/data-purge-result.json new file mode 100644 index 00000000..3eb341c9 --- /dev/null +++ b/tests/__mocks__/results/data-purge-result.json @@ -0,0 +1,98 @@ +{ + "molecula451": { + "total": 0, + "userId": 41552663, + "comments": [ + { + "content": "pavlovcik i think we need to update a bit the readme ! dm what to whom?", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948916343", + "type": "ISSUE|CONTRIBUTOR|COMMENTED" + }, + { + "content": "let us know when done", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948989989", + "type": "ISSUE|CONTRIBUTOR|COMMENTED" + }, + { + "content": "https://github.com/ubiquibot/comment-incentives/actions/runs/7935268560 invalid input sounds unexpected @gitcoindev ??", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949195772", + "type": "ISSUE|CONTRIBUTOR|COMMENTED" + }, + { + "content": "@pavlovcik permitted with hard debug (tho no funds in the private key)", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949564869", + "type": "ISSUE|CONTRIBUTOR|COMMENTED" + }, + { + "content": "pavlovcik i re-generated the X25519 to trigger the permit, what you don't understand? using a private key i own, but also did many commits to reach the root cause", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949635137", + "type": "ISSUE|CONTRIBUTOR|COMMENTED" + }, + { + "content": "sure thing", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949639196", + "type": "ISSUE|CONTRIBUTOR|COMMENTED" + } + ] + }, + "0x4007": { + "total": 0, + "userId": 4975670, + "comments": [ + { + "content": "Link below for conversation context. It was to me. Anyways you need to create a new private key for this task!", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948930217", + "type": "ISSUE|ISSUER|COMMENTED" + }, + { + "content": "In the repository secrets I think I need to change the key to match @gitcoindev's", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949201722", + "type": "ISSUE|ISSUER|COMMENTED" + }, + { + "content": "I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3iC7GQ` I hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!) I fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949203681", + "type": "ISSUE|ISSUER|COMMENTED" + }, + { + "content": "I don't understand what you mean by this", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949633751", + "type": "ISSUE|ISSUER|COMMENTED" + }, + { + "content": "I'll investigate more on my computer later.", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949639054", + "type": "ISSUE|ISSUER|COMMENTED" + }, + { + "content": "Will it be an issue if I revert to the commit and secret that I had before? It was the production x25519 key in the GitHub repository secrets when it was working like eight hours ago. Posting this message before checking on my computer to get you before you log off.", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949642845", + "type": "ISSUE|ISSUER|COMMENTED" + }, + { + "content": "Can somebody work on generating a new `X25519_PRIVATE_KEY` for the ubiquibot organization? We need to share it for development purposes. 1. Generate a new key 2. Encrypt a new `evmPrivateKeyEncrypted` (no funds!) and add to the org bot config 3. Add the shared test key to the `comment-incentives` readme. https://github.com/ubiquibot/comment-incentives/pull/21/commits/567419d9688e92edf698f64c697f1a7cafe1d02e _Originally posted by @pavlovcik in https://github.com/ubiquibot/comment-incentives/issues/19#issuecomment-1948876653_", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22", + "type": "ISSUE|ISSUER|TASK" + } + ] + }, + "gitcoindev": { + "total": 37.5, + "task": { + "reward": 37.5 + }, + "userId": 88761781, + "comments": [ + { + "content": "@molecula451 I tried to override X25519_PRIVATE_KEY but it did not help. It seems that https://github.com/ubiquibot/production/blob/1937a6ba75588f51d1bf07fed1f6384f79090465/.github/ubiquibot-config.yml#L2 takes precedence over https://github.com/ubiquibot/comment-incentives/blob/main/.github/ubiquibot-config.yml#L2 (I see the first one in logs).", + "url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949333227", + "type": "ISSUE|ASSIGNEE|COMMENTED" + }, + { + "content": "The new evmPrivateKeyEncrypted generated for address 0x3a2E44e10AbEf5CB4a6E492c5ba93d30068d2D95 (no funds). Resolves: https://github.com/ubiquibot/comment-incentives/issues/22", + "url": "https://github.com/ubiquibot/comment-incentives/pull/25", + "type": "REVIEW|ISSUER|SPECIFICATION" + } + ] + } +} diff --git a/tests/__mocks__/results/user-comment-results.json b/tests/__mocks__/results/user-comment-results.json new file mode 100644 index 00000000..ed4dd6a1 --- /dev/null +++ b/tests/__mocks__/results/user-comment-results.json @@ -0,0 +1,17 @@ +{ + "molecula451": { + "total": 0, + "userId": 41552663 + }, + "0x4007": { + "total": 0, + "userId": 4975670 + }, + "gitcoindev": { + "total": 37.5, + "task": { + "reward": 37.5 + }, + "userId": 88761781 + } +} diff --git a/tests/__mocks__/routes/issue-comments-get.json b/tests/__mocks__/routes/issue-comments-get.json new file mode 100644 index 00000000..75d0060d --- /dev/null +++ b/tests/__mocks__/routes/issue-comments-get.json @@ -0,0 +1,1296 @@ +[ + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948916343", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948916343", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948916343, + "node_id": "IC_kwDOK87YcM50Khp3", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:10:52Z", + "updated_at": "2024-02-16T17:10:52Z", + "author_association": "CONTRIBUTOR", + "body": "pavlovcik i think we need to update a bit the readme\r\n\r\n![image_2024-02-16_131036879](https://github.com/ubiquibot/comment-incentives/assets/41552663/41516d66-4666-47d7-9efe-517fb26293dd)\r\n \r\ndm what to whom?\r\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948916343/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948930217", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948930217", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948930217, + "node_id": "IC_kwDOK87YcM50KlCp", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:15:21Z", + "updated_at": "2024-02-16T17:15:21Z", + "author_association": "MEMBER", + "body": "Link below for conversation context. It was to me. Anyways you need to create a new private key for this task!", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948930217/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948973846", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948973846", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948973846, + "node_id": "IC_kwDOK87YcM50KvsW", + "user": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:45:15Z", + "updated_at": "2024-02-16T17:45:15Z", + "author_association": "CONTRIBUTOR", + "body": "/start", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948973846/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948974023", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948974023", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948974023, + "node_id": "IC_kwDOK87YcM50KvvH", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-16T17:45:22Z", + "updated_at": "2024-02-16T17:45:22Z", + "author_association": "NONE", + "body": "\n\n\n\n\n\n\n\n\n\n\n\n
DeadlineFri, Feb 16, 6:45 PM UTC
Registered Wallet0x7e92476D69Ff1377a8b45176b1829C4A5566653a
\n
Tips:
\n
    \n
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
  • \n
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • \n
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.
  • \n
      \n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948974023/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948989989", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948989989", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948989989, + "node_id": "IC_kwDOK87YcM50Kzol", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:57:07Z", + "updated_at": "2024-02-16T17:57:07Z", + "author_association": "CONTRIBUTOR", + "body": "let us know when done", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948989989/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949182588", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949182588", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949182588, + "node_id": "IC_kwDOK87YcM50Lip8", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-16T19:22:06Z", + "updated_at": "2024-02-16T19:22:06Z", + "author_association": "NONE", + "body": "```diff\n+ Evaluating results. Please wait...\n```\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949182588/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949195772", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949195772", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949195772, + "node_id": "IC_kwDOK87YcM50Ll38", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T19:27:03Z", + "updated_at": "2024-02-16T19:27:03Z", + "author_association": "CONTRIBUTOR", + "body": "https://github.com/ubiquibot/comment-incentives/actions/runs/7935268560 invalid input sounds unexpected @gitcoindev ??", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949195772/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949198481", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949198481", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949198481, + "node_id": "IC_kwDOK87YcM50LmiR", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-16T19:28:51Z", + "updated_at": "2024-02-16T19:28:51Z", + "author_association": "NONE", + "body": "```diff\n+ Evaluating results. Please wait...\n```\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949198481/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949201722", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949201722", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949201722, + "node_id": "IC_kwDOK87YcM50LnU6", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T19:31:03Z", + "updated_at": "2024-02-16T19:31:03Z", + "author_association": "MEMBER", + "body": "> https://github.com/ubiquibot/comment-incentives/actions/runs/7935268560 invalid input sounds unexpected @gitcoindev ??\r\n\r\nIn the repository secrets I think I need to change the key to match @gitcoindev's", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949201722/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949203681", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949203681", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949203681, + "node_id": "IC_kwDOK87YcM50Lnzh", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T19:32:24Z", + "updated_at": "2024-02-16T19:34:14Z", + "author_association": "MEMBER", + "body": "I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3iC7GQ`\r\n\r\nI hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!)\r\n\r\nI fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949203681/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949333227", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949333227", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949333227, + "node_id": "IC_kwDOK87YcM50MHbr", + "user": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T21:04:14Z", + "updated_at": "2024-02-16T21:04:14Z", + "author_association": "CONTRIBUTOR", + "body": "@molecula451 I tried to override X25519_PRIVATE_KEY but it did not help. It seems that https://github.com/ubiquibot/production/blob/1937a6ba75588f51d1bf07fed1f6384f79090465/.github/ubiquibot-config.yml#L2 takes precedence over https://github.com/ubiquibot/comment-incentives/blob/main/.github/ubiquibot-config.yml#L2 (I see the first one in logs). ", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949333227/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949560795", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949560795", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949560795, + "node_id": "IC_kwDOK87YcM50M-_b", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-17T01:06:21Z", + "updated_at": "2024-02-17T01:06:21Z", + "author_association": "NONE", + "body": "```diff\n+ Evaluating results. Please wait...\n```\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949560795/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949564168", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949564168", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949564168, + "node_id": "IC_kwDOK87YcM50M_0I", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-17T01:09:34Z", + "updated_at": "2024-02-17T01:09:34Z", + "author_association": "NONE", + "body": "```diff\n+ Evaluating results. Please wait...\n```\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949564168/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949564618", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949564618", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949564618, + "node_id": "IC_kwDOK87YcM50M_7K", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-17T01:10:13Z", + "updated_at": "2024-02-17T01:10:13Z", + "author_association": "NONE", + "body": "\n
      \n \n

      \n \n [ 43.8 WXDAI ]\n

      \n
      @pavlovcik
      \n
      \n
      Contributions Overview
      \n\n\n\n\n\n\n
      ViewContributionCountReward
      IssueSpecification117.4
      IssueComment322.6
      ReviewComment23.8
      \n
      Conversation Incentives
      CommentFormattingRelevanceReward
      Can somebody work on generating a new `X25519_PRIVATE_KEY` for t...
      17.4\n
      li:\n  count: 3\n  score: \"3\"\n  words: 31\ncode:\n  count: 3\n  score: \"3\"\n  words: 4\n
      \n
      117.4
      Link below for conversation context. It was to me. Anyways you n...
      4.20.054.2
      > https://github.com/ubiquibot/comment-incentives/actions/runs/7...
      3.20.783.2
      I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3iC7G...
      15.2\n
      code:\n  count: 1\n  score: \"1\"\n  words: 2\n
      \n
      0.7215.2
      Need to document a private key too ...
      1.40.491.4
      I was editing this right now but was too slow to push....
      2.40.372.4
      \n
      \n \n\n
      \n \n

      \n \n [ 5.3 WXDAI ]\n

      \n
      @molecula451
      \n
      \n
      Contributions Overview
      \n\n\n\n\n\n
      ViewContributionCountReward
      IssueComment33.4
      ReviewComment21.9
      \n
      Conversation Incentives
      CommentFormattingRelevanceReward
      pavlovcik i think we need to update a bit the readme\r\n\r\n![image_...
      1.50.681.5
      let us know when done...
      0.510.5
      https://github.com/ubiquibot/comment-incentives/actions/runs/793...
      1.40.5251.4
      indeed...
      0.10.430.1
      go to go pavlovick, we'll be using this one for test only or tes...
      1.80.391.8
      \n
      \n \n\n
      \n \n

      \n \n [ 47.4 WXDAI ]\n

      \n
      @gitcoindev
      \n
      \n
      Contributions Overview
      \n\n\n\n\n\n\n\n\n
      ViewContributionCountReward
      IssueTask1.0037.5
      IssueComment10
      IssueComment14.9
      ReviewComment22.5
      ReviewComment22.5
      \n
      Conversation Incentives
      CommentFormattingRelevanceReward
      @molecula451 I tried to override X25519_PRIVATE_KEY but it did n...
      -0.605-
      @molecula451 I tried to override X25519_PRIVATE_KEY but it did n...
      4.90.6054.9
      @pavlovcik @molecula451 please check now again, I added to docs....
      10.751
      No way, full details are available in plain sight, only for test...
      1.50.51.5
      @pavlovcik @molecula451 please check now again, I added to docs....
      10.751
      No way, full details are available in plain sight, only for test...
      1.50.51.5
      \n
      \n \n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949564618/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949564869", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949564869", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949564869, + "node_id": "IC_kwDOK87YcM50M__F", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-17T01:10:50Z", + "updated_at": "2024-02-17T01:10:50Z", + "author_association": "CONTRIBUTOR", + "body": "@pavlovcik permitted with hard debug (tho no funds in the private key)", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949564869/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949633751", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949633751", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949633751, + "node_id": "IC_kwDOK87YcM50NQzX", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-17T03:55:28Z", + "updated_at": "2024-02-17T03:55:28Z", + "author_association": "MEMBER", + "body": "> @pavlovcik permitted with hard debug (tho no funds in the private key)\n\n\nI don't understand what you mean by this", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949633751/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 1, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949635137", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949635137", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949635137, + "node_id": "IC_kwDOK87YcM50NRJB", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-17T04:01:24Z", + "updated_at": "2024-02-17T04:02:06Z", + "author_association": "CONTRIBUTOR", + "body": "pavlovcik i re-generated the X25519 to trigger the permit, what you don't understand? using a private key i own, but also did many commits to reach the root cause", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949635137/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949639054", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949639054", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949639054, + "node_id": "IC_kwDOK87YcM50NSGO", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-17T04:14:49Z", + "updated_at": "2024-02-17T04:14:49Z", + "author_association": "MEMBER", + "body": "I'll investigate more on my computer later. ", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949639054/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949639196", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949639196", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949639196, + "node_id": "IC_kwDOK87YcM50NSIc", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-17T04:15:24Z", + "updated_at": "2024-02-17T04:15:24Z", + "author_association": "CONTRIBUTOR", + "body": "sure thing", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949639196/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949642845", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949642845", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949642845, + "node_id": "IC_kwDOK87YcM50NTBd", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-17T04:31:02Z", + "updated_at": "2024-02-17T04:31:31Z", + "author_association": "MEMBER", + "body": "Will it be an issue if I revert to the commit and secret that I had before?\n\nIt was the production x25519 key in the GitHub repository secrets when it was working like eight hours ago. \n\nPosting this message before checking on my computer to get you before you log off. ", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949642845/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] diff --git a/tests/__mocks__/routes/issue-events-get.json b/tests/__mocks__/routes/issue-events-get.json new file mode 100644 index 00000000..4fe6b8f6 --- /dev/null +++ b/tests/__mocks__/routes/issue-events-get.json @@ -0,0 +1,961 @@ +[ + { + "id": 11831290912, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBMywg", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831290912", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:37Z", + "performed_via_github_app": null + }, + { + "id": 11831290926, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBMywu", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831290926", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:37Z", + "performed_via_github_app": null + }, + { + "id": 11831292035, + "node_id": "LE_lADOK87YcM5_fo85zwAAAALBMzCD", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831292035", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "labeled", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:44Z", + "label": { + "name": "Time: <1 Hour", + "color": "ededed" + }, + "performed_via_github_app": null + }, + { + "id": 11831292050, + "node_id": "LE_lADOK87YcM5_fo85zwAAAALBMzCS", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831292050", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "labeled", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:44Z", + "label": { + "name": "Priority: 3 (High)", + "color": "ededed" + }, + "performed_via_github_app": null + }, + { + "id": 11831292324, + "node_id": "LE_lADOK87YcM5_fo85zwAAAALBMzGk", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831292324", + "actor": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "event": "labeled", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:46Z", + "label": { + "name": "Price: 37.5 USD", + "color": "1f883d" + }, + "performed_via_github_app": null + }, + { + "id": 11831838455, + "node_id": "AE_lADOK87YcM5_fo85zwAAAALBO4b3", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831838455", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "assigned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T17:45:21Z", + "assignee": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "assigner": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "performed_via_github_app": null + }, + { + "id": 11832105583, + "node_id": "REFE_lADOK87YcM5_fo85zwAAAALBP5pv", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832105583", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "referenced", + "commit_id": "a228622d64e223136cecb9cc2fa80a46a0c153e7", + "commit_url": "https://api.github.com/repos/korrrba/comment-incentives/commits/a228622d64e223136cecb9cc2fa80a46a0c153e7", + "created_at": "2024-02-16T18:09:19Z", + "performed_via_github_app": null + }, + { + "id": 11832816040, + "node_id": "CE_lADOK87YcM5_fo85zwAAAALBSnGo", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832816040", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "closed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:22:02Z", + "state_reason": null, + "performed_via_github_app": null + }, + { + "id": 11832816078, + "node_id": "REFE_lADOK87YcM5_fo85zwAAAALBSnHO", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832816078", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "referenced", + "commit_id": "6dc8be64f37d6d9eb14f1d815cb569091decca63", + "commit_url": "https://api.github.com/repos/ubiquibot/comment-incentives/commits/6dc8be64f37d6d9eb14f1d815cb569091decca63", + "created_at": "2024-02-16T19:22:02Z", + "performed_via_github_app": null + }, + { + "id": 11832862570, + "node_id": "REE_lADOK87YcM5_fo85zwAAAALBSydq", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832862570", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "reopened", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:26:52Z", + "state_reason": "reopened", + "performed_via_github_app": null + }, + { + "id": 11832864145, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBSy2R", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832864145", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:27:04Z", + "performed_via_github_app": null + }, + { + "id": 11832864154, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBSy2a", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832864154", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:27:05Z", + "performed_via_github_app": null + }, + { + "id": 11832879414, + "node_id": "CE_lADOK87YcM5_fo85zwAAAALBS2k2", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832879414", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "closed", + "commit_id": "a228622d64e223136cecb9cc2fa80a46a0c153e7", + "commit_url": "https://api.github.com/repos/ubiquibot/comment-incentives/commits/a228622d64e223136cecb9cc2fa80a46a0c153e7", + "created_at": "2024-02-16T19:28:48Z", + "state_reason": null, + "performed_via_github_app": null + }, + { + "id": 11832898707, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBS7ST", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832898707", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:31:04Z", + "performed_via_github_app": null + }, + { + "id": 11832898712, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBS7SY", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832898712", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:31:04Z", + "performed_via_github_app": null + }, + { + "id": 11833732261, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBWGyl", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11833732261", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T21:04:15Z", + "performed_via_github_app": null + }, + { + "id": 11833732273, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBWGyx", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11833732273", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T21:04:15Z", + "performed_via_github_app": null + }, + { + "id": 11835033620, + "node_id": "REE_lADOK87YcM5_fo85zwAAAALBbEgU", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835033620", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "reopened", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:06:10Z", + "state_reason": "reopened", + "performed_via_github_app": null + }, + { + "id": 11835034252, + "node_id": "CE_lADOK87YcM5_fo85zwAAAALBbEqM", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835034252", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "closed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:06:18Z", + "state_reason": null, + "performed_via_github_app": null + }, + { + "id": 11835045520, + "node_id": "REE_lADOK87YcM5_fo85zwAAAALBbHaQ", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835045520", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "reopened", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:09:27Z", + "state_reason": "reopened", + "performed_via_github_app": null + }, + { + "id": 11835046079, + "node_id": "CE_lADOK87YcM5_fo85zwAAAALBbHi_", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835046079", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "closed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:09:32Z", + "state_reason": null, + "performed_via_github_app": null + }, + { + "id": 11835049188, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBbITk", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835049188", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:15Z", + "performed_via_github_app": null + }, + { + "id": 11835049192, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBbITo", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835049192", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:15Z", + "performed_via_github_app": null + }, + { + "id": 11835049195, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBbITr", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835049195", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:15Z", + "performed_via_github_app": null + }, + { + "id": 11835049197, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBbITt", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835049197", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:15Z", + "performed_via_github_app": null + }, + { + "id": 11835049200, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBbITw", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835049200", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:15Z", + "performed_via_github_app": null + }, + { + "id": 11835049204, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBbIT0", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835049204", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:15Z", + "performed_via_github_app": null + }, + { + "id": 11835050671, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBbIqv", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835050671", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:51Z", + "performed_via_github_app": null + }, + { + "id": 11835050674, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBbIqy", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835050674", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T01:10:51Z", + "performed_via_github_app": null + }, + { + "id": 11835426213, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBckWl", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11835426213", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-17T03:55:29Z", + "performed_via_github_app": null + } +] diff --git a/tests/__mocks__/routes/issue-get.json b/tests/__mocks__/routes/issue-get.json new file mode 100644 index 00000000..d01d343f --- /dev/null +++ b/tests/__mocks__/routes/issue-get.json @@ -0,0 +1,148 @@ +{ + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "repository_url": "https://api.github.com/repos/ubiquibot/comment-incentives", + "labels_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/labels{/name}", + "comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/comments", + "events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/events", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22", + "id": 2139000633, + "node_id": "I_kwDOK87YcM5_fo85", + "number": 22, + "title": "Shared `X25519_PRIVATE_KEY` for Development", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6439650896, + "node_id": "LA_kwDOK87YcM8AAAABf9VGUA", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels/Time:%20%3C1%20Hour", + "name": "Time: \u003C1 Hour", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 6439651250, + "node_id": "LA_kwDOK87YcM8AAAABf9VHsg", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels/Priority:%203%20(High)", + "name": "Priority: 3 (High)", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 6495296501, + "node_id": "LA_kwDOK87YcM8AAAABgyZb9Q", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels/Price:%2037.5%20USD", + "name": "Price: 37.5 USD", + "color": "1f883d", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 20, + "created_at": "2024-02-16T16:55:37Z", + "updated_at": "2024-02-17T04:31:31Z", + "closed_at": "2024-02-17T01:09:32Z", + "author_association": "MEMBER", + "active_lock_reason": null, + "body": "Can somebody work on generating a new `X25519_PRIVATE_KEY` for the ubiquibot organization? We need to share it for development purposes.\r\n\r\n1. Generate a new key\r\n2. Encrypt a new `evmPrivateKeyEncrypted` (no funds!) and add to the org bot config\r\n3. Add the shared test key to the `comment-incentives` readme. \r\n\r\nhttps://github.com/ubiquibot/comment-incentives/pull/21/commits/567419d9688e92edf698f64c697f1a7cafe1d02e\r\n\r\n_Originally posted by @pavlovcik in https://github.com/ubiquibot/comment-incentives/issues/19#issuecomment-1948876653_\r\n ", + "closed_by": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22/timeline", + "performed_via_github_app": null, + "state_reason": "completed" +} diff --git a/tests/__mocks__/routes/issue-timeline-get.json b/tests/__mocks__/routes/issue-timeline-get.json new file mode 100644 index 00000000..ec5ab455 --- /dev/null +++ b/tests/__mocks__/routes/issue-timeline-get.json @@ -0,0 +1,2108 @@ +[ + { + "id": 11831290912, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBMywg", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831290912", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:37Z", + "performed_via_github_app": null + }, + { + "id": 11831290926, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBMywu", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831290926", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:37Z", + "performed_via_github_app": null + }, + { + "id": 11831292035, + "node_id": "LE_lADOK87YcM5_fo85zwAAAALBMzCD", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831292035", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "labeled", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:44Z", + "label": { + "name": "Time: <1 Hour", + "color": "ededed" + }, + "performed_via_github_app": null + }, + { + "id": 11831292050, + "node_id": "LE_lADOK87YcM5_fo85zwAAAALBMzCS", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831292050", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "labeled", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:44Z", + "label": { + "name": "Priority: 3 (High)", + "color": "ededed" + }, + "performed_via_github_app": null + }, + { + "id": 11831292324, + "node_id": "LE_lADOK87YcM5_fo85zwAAAALBMzGk", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831292324", + "actor": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "event": "labeled", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T16:55:46Z", + "label": { + "name": "Price: 37.5 USD", + "color": "1f883d" + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948916343", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948916343", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948916343, + "node_id": "IC_kwDOK87YcM50Khp3", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:10:52Z", + "updated_at": "2024-02-16T17:10:52Z", + "author_association": "CONTRIBUTOR", + "body": "pavlovcik i think we need to update a bit the readme\r\n\r\n![image_2024-02-16_131036879](https://github.com/ubiquibot/comment-incentives/assets/41552663/41516d66-4666-47d7-9efe-517fb26293dd)\r\n \r\ndm what to whom?\r\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948916343/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948930217", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948930217", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948930217, + "node_id": "IC_kwDOK87YcM50KlCp", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:15:21Z", + "updated_at": "2024-02-16T17:15:21Z", + "author_association": "MEMBER", + "body": "Link below for conversation context. It was to me. Anyways you need to create a new private key for this task!", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948930217/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + } + }, + { + "actor": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-16T17:20:43Z", + "updated_at": "2024-02-16T17:20:43Z", + "source": { + "type": "issue", + "issue": { + "url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/1064", + "repository_url": "https://api.github.com/repos/ubiquity/devpool-directory", + "labels_url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/1064/labels{/name}", + "comments_url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/1064/comments", + "events_url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/1064/events", + "html_url": "https://github.com/ubiquity/devpool-directory/issues/1064", + "id": 2139044235, + "node_id": "I_kwDOJWyCVM5_fzmL", + "number": 1064, + "title": "Shared `X25519_PRIVATE_KEY` for Development", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "labels": [ + { + "id": 5389720176, + "node_id": "LA_kwDOJWyCVM8AAAABQUCacA", + "url": "https://api.github.com/repos/ubiquity/devpool-directory/labels/Time:%20%3C1%20Hour", + "name": "Time: <1 Hour", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 5390002857, + "node_id": "LA_kwDOJWyCVM8AAAABQUTqqQ", + "url": "https://api.github.com/repos/ubiquity/devpool-directory/labels/Pricing:%2037.5%20USD", + "name": "Pricing: 37.5 USD", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 5639152271, + "node_id": "LA_kwDOJWyCVM8AAAABUB6ijw", + "url": "https://api.github.com/repos/ubiquity/devpool-directory/labels/Unavailable", + "name": "Unavailable", + "color": "ededed", + "default": false, + "description": "" + }, + { + "id": 5906091134, + "node_id": "LA_kwDOJWyCVM8AAAABYAfMfg", + "url": "https://api.github.com/repos/ubiquity/devpool-directory/labels/Priority:%203%20(High)", + "name": "Priority: 3 (High)", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 6562018806, + "node_id": "LA_kwDOJWyCVM8AAAABhyB19g", + "url": "https://api.github.com/repos/ubiquity/devpool-directory/labels/Partner:%20ubiquibot/comment-incentives", + "name": "Partner: ubiquibot/comment-incentives", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 6569643986, + "node_id": "LA_kwDOJWyCVM8AAAABh5TP0g", + "url": "https://api.github.com/repos/ubiquity/devpool-directory/labels/id:%20I_kwDOK87YcM5_fo85", + "name": "id: I_kwDOK87YcM5_fo85", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2024-02-16T17:20:43Z", + "updated_at": "2024-02-16T20:20:22Z", + "closed_at": "2024-02-16T20:20:21Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "repository": { + "id": 627868244, + "node_id": "R_kgDOJWyCVA", + "name": "devpool-directory", + "full_name": "ubiquity/devpool-directory", + "private": false, + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/ubiquity/devpool-directory", + "description": "DevPool open bounties. Subscribe to notifications to see new available bounties.", + "fork": false, + "url": "https://api.github.com/repos/ubiquity/devpool-directory", + "forks_url": "https://api.github.com/repos/ubiquity/devpool-directory/forks", + "keys_url": "https://api.github.com/repos/ubiquity/devpool-directory/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ubiquity/devpool-directory/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ubiquity/devpool-directory/teams", + "hooks_url": "https://api.github.com/repos/ubiquity/devpool-directory/hooks", + "issue_events_url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/events{/number}", + "events_url": "https://api.github.com/repos/ubiquity/devpool-directory/events", + "assignees_url": "https://api.github.com/repos/ubiquity/devpool-directory/assignees{/user}", + "branches_url": "https://api.github.com/repos/ubiquity/devpool-directory/branches{/branch}", + "tags_url": "https://api.github.com/repos/ubiquity/devpool-directory/tags", + "blobs_url": "https://api.github.com/repos/ubiquity/devpool-directory/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ubiquity/devpool-directory/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ubiquity/devpool-directory/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ubiquity/devpool-directory/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ubiquity/devpool-directory/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ubiquity/devpool-directory/languages", + "stargazers_url": "https://api.github.com/repos/ubiquity/devpool-directory/stargazers", + "contributors_url": "https://api.github.com/repos/ubiquity/devpool-directory/contributors", + "subscribers_url": "https://api.github.com/repos/ubiquity/devpool-directory/subscribers", + "subscription_url": "https://api.github.com/repos/ubiquity/devpool-directory/subscription", + "commits_url": "https://api.github.com/repos/ubiquity/devpool-directory/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ubiquity/devpool-directory/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ubiquity/devpool-directory/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ubiquity/devpool-directory/contents/{+path}", + "compare_url": "https://api.github.com/repos/ubiquity/devpool-directory/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ubiquity/devpool-directory/merges", + "archive_url": "https://api.github.com/repos/ubiquity/devpool-directory/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ubiquity/devpool-directory/downloads", + "issues_url": "https://api.github.com/repos/ubiquity/devpool-directory/issues{/number}", + "pulls_url": "https://api.github.com/repos/ubiquity/devpool-directory/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ubiquity/devpool-directory/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ubiquity/devpool-directory/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ubiquity/devpool-directory/labels{/name}", + "releases_url": "https://api.github.com/repos/ubiquity/devpool-directory/releases{/id}", + "deployments_url": "https://api.github.com/repos/ubiquity/devpool-directory/deployments", + "created_at": "2023-04-14T11:31:23Z", + "updated_at": "2024-04-06T00:26:04Z", + "pushed_at": "2024-04-18T05:21:23Z", + "git_url": "git://github.com/ubiquity/devpool-directory.git", + "ssh_url": "git@github.com:ubiquity/devpool-directory.git", + "clone_url": "https://github.com/ubiquity/devpool-directory.git", + "svn_url": "https://github.com/ubiquity/devpool-directory", + "homepage": "https://dao.ubq.fi/devpool", + "size": 1948, + "stargazers_count": 18, + "watchers_count": 18, + "language": "TypeScript", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 18, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 25, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + + ], + "visibility": "public", + "forks": 18, + "open_issues": 25, + "watchers": 18, + "default_branch": "development" + }, + "body": "https://github.com/ubiquibot/comment-incentives/issues/22", + "reactions": { + "url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/1064/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/ubiquity/devpool-directory/issues/1064/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "event": "cross-referenced" + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948973846", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948973846", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948973846, + "node_id": "IC_kwDOK87YcM50KvsW", + "user": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:45:15Z", + "updated_at": "2024-02-16T17:45:15Z", + "author_association": "CONTRIBUTOR", + "body": "/start", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948973846/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + } + }, + { + "id": 11831838455, + "node_id": "AE_lADOK87YcM5_fo85zwAAAALBO4b3", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11831838455", + "actor": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "event": "assigned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T17:45:21Z", + "assignee": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948974023", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948974023", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948974023, + "node_id": "IC_kwDOK87YcM50KvvH", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-16T17:45:22Z", + "updated_at": "2024-02-16T17:45:22Z", + "author_association": "NONE", + "body": "\n\n\n\n\n\n\n\n\n\n\n\n
      DeadlineFri, Feb 16, 6:45 PM UTC
      Registered Wallet0x7e92476D69Ff1377a8b45176b1829C4A5566653a
      \n
      Tips:
      \n
        \n
      • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
      • \n
      • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
      • \n
      • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.
      • \n
          \n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948974023/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + }, + "event": "commented", + "actor": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948989989", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1948989989", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1948989989, + "node_id": "IC_kwDOK87YcM50Kzol", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T17:57:07Z", + "updated_at": "2024-02-16T17:57:07Z", + "author_association": "CONTRIBUTOR", + "body": "let us know when done", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1948989989/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + } + }, + { + "id": 11832105583, + "node_id": "REFE_lADOK87YcM5_fo85zwAAAALBP5pv", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832105583", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "referenced", + "commit_id": "a228622d64e223136cecb9cc2fa80a46a0c153e7", + "commit_url": "https://api.github.com/repos/korrrba/comment-incentives/commits/a228622d64e223136cecb9cc2fa80a46a0c153e7", + "created_at": "2024-02-16T18:09:19Z", + "performed_via_github_app": null + }, + { + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T18:10:15Z", + "updated_at": "2024-02-16T18:10:15Z", + "source": { + "type": "issue", + "issue": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25", + "repository_url": "https://api.github.com/repos/ubiquibot/comment-incentives", + "labels_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25/labels{/name}", + "comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25/comments", + "events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25/events", + "html_url": "https://github.com/ubiquibot/comment-incentives/pull/25", + "id": 2139148566, + "node_id": "PR_kwDOK87YcM5nHc9o", + "number": 25, + "title": "chore: add new shared evmPrivateKeyEncrypted", + "user": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 6, + "created_at": "2024-02-16T18:10:14Z", + "updated_at": "2024-02-16T19:27:30Z", + "closed_at": "2024-02-16T19:22:01Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "draft": false, + "repository": { + "id": 734976112, + "node_id": "R_kgDOK87YcA", + "name": "comment-incentives", + "full_name": "ubiquibot/comment-incentives", + "private": false, + "owner": { + "login": "ubiquibot", + "id": 133917611, + "node_id": "O_kgDOB_trqw", + "avatar_url": "https://avatars.githubusercontent.com/u/133917611?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot", + "html_url": "https://github.com/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot/followers", + "following_url": "https://api.github.com/users/ubiquibot/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot/orgs", + "repos_url": "https://api.github.com/users/ubiquibot/repos", + "events_url": "https://api.github.com/users/ubiquibot/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/ubiquibot/comment-incentives", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/ubiquibot/comment-incentives", + "forks_url": "https://api.github.com/repos/ubiquibot/comment-incentives/forks", + "keys_url": "https://api.github.com/repos/ubiquibot/comment-incentives/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ubiquibot/comment-incentives/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ubiquibot/comment-incentives/teams", + "hooks_url": "https://api.github.com/repos/ubiquibot/comment-incentives/hooks", + "issue_events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events{/number}", + "events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/events", + "assignees_url": "https://api.github.com/repos/ubiquibot/comment-incentives/assignees{/user}", + "branches_url": "https://api.github.com/repos/ubiquibot/comment-incentives/branches{/branch}", + "tags_url": "https://api.github.com/repos/ubiquibot/comment-incentives/tags", + "blobs_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ubiquibot/comment-incentives/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ubiquibot/comment-incentives/languages", + "stargazers_url": "https://api.github.com/repos/ubiquibot/comment-incentives/stargazers", + "contributors_url": "https://api.github.com/repos/ubiquibot/comment-incentives/contributors", + "subscribers_url": "https://api.github.com/repos/ubiquibot/comment-incentives/subscribers", + "subscription_url": "https://api.github.com/repos/ubiquibot/comment-incentives/subscription", + "commits_url": "https://api.github.com/repos/ubiquibot/comment-incentives/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ubiquibot/comment-incentives/contents/{+path}", + "compare_url": "https://api.github.com/repos/ubiquibot/comment-incentives/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ubiquibot/comment-incentives/merges", + "archive_url": "https://api.github.com/repos/ubiquibot/comment-incentives/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ubiquibot/comment-incentives/downloads", + "issues_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues{/number}", + "pulls_url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ubiquibot/comment-incentives/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ubiquibot/comment-incentives/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels{/name}", + "releases_url": "https://api.github.com/repos/ubiquibot/comment-incentives/releases{/id}", + "deployments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/deployments", + "created_at": "2023-12-23T08:06:55Z", + "updated_at": "2024-01-16T23:26:54Z", + "pushed_at": "2024-03-14T22:51:18Z", + "git_url": "git://github.com/ubiquibot/comment-incentives.git", + "ssh_url": "git@github.com:ubiquibot/comment-incentives.git", + "clone_url": "https://github.com/ubiquibot/comment-incentives.git", + "svn_url": "https://github.com/ubiquibot/comment-incentives", + "homepage": null, + "size": 588, + "stargazers_count": 1, + "watchers_count": 1, + "language": "TypeScript", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + + ], + "visibility": "public", + "forks": 10, + "open_issues": 6, + "watchers": 1, + "default_branch": "main" + }, + "pull_request": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25", + "html_url": "https://github.com/ubiquibot/comment-incentives/pull/25", + "diff_url": "https://github.com/ubiquibot/comment-incentives/pull/25.diff", + "patch_url": "https://github.com/ubiquibot/comment-incentives/pull/25.patch", + "merged_at": "2024-02-16T19:22:01Z" + }, + "body": "The new evmPrivateKeyEncrypted generated for address 0x3a2E44e10AbEf5CB4a6E492c5ba93d30068d2D95 (no funds).\r\n\r\nResolves: https://github.com/ubiquibot/comment-incentives/issues/22", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25/timeline", + "performed_via_github_app": null, + "state_reason": null + } + }, + "event": "cross-referenced" + }, + { + "id": 11832816040, + "node_id": "CE_lADOK87YcM5_fo85zwAAAALBSnGo", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832816040", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "closed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:22:02Z", + "state_reason": null, + "performed_via_github_app": null + }, + { + "id": 11832816078, + "node_id": "REFE_lADOK87YcM5_fo85zwAAAALBSnHO", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832816078", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "referenced", + "commit_id": "6dc8be64f37d6d9eb14f1d815cb569091decca63", + "commit_url": "https://api.github.com/repos/ubiquibot/comment-incentives/commits/6dc8be64f37d6d9eb14f1d815cb569091decca63", + "created_at": "2024-02-16T19:22:02Z", + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949182588", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949182588", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949182588, + "node_id": "IC_kwDOK87YcM50Lip8", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-16T19:22:06Z", + "updated_at": "2024-02-16T19:22:06Z", + "author_association": "NONE", + "body": "```diff\n+ Evaluating results. Please wait...\n```\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949182588/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + }, + "event": "commented", + "actor": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + } + }, + { + "id": 11832862570, + "node_id": "REE_lADOK87YcM5_fo85zwAAAALBSydq", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832862570", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "reopened", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:26:52Z", + "state_reason": "reopened", + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949195772", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949195772", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949195772, + "node_id": "IC_kwDOK87YcM50Ll38", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T19:27:03Z", + "updated_at": "2024-02-16T19:27:03Z", + "author_association": "CONTRIBUTOR", + "body": "https://github.com/ubiquibot/comment-incentives/actions/runs/7935268560 invalid input sounds unexpected @gitcoindev ??", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949195772/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + } + }, + { + "id": 11832864145, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBSy2R", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832864145", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:27:04Z", + "performed_via_github_app": null + }, + { + "id": 11832864154, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBSy2a", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832864154", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:27:05Z", + "performed_via_github_app": null + }, + { + "id": 11832879414, + "node_id": "CE_lADOK87YcM5_fo85zwAAAALBS2k2", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832879414", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "event": "closed", + "commit_id": "a228622d64e223136cecb9cc2fa80a46a0c153e7", + "commit_url": "https://api.github.com/repos/ubiquibot/comment-incentives/commits/a228622d64e223136cecb9cc2fa80a46a0c153e7", + "created_at": "2024-02-16T19:28:48Z", + "state_reason": null, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949198481", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949198481", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949198481, + "node_id": "IC_kwDOK87YcM50LmiR", + "user": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "created_at": "2024-02-16T19:28:51Z", + "updated_at": "2024-02-16T19:28:51Z", + "author_association": "NONE", + "body": "```diff\n+ Evaluating results. Please wait...\n```\n", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949198481/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": { + "id": 236521, + "slug": "ubiquibot", + "node_id": "A_kwHOBI33Lc4AA5vp", + "owner": { + "login": "ubiquity", + "id": 76412717, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc2NDEyNzE3", + "avatar_url": "https://avatars.githubusercontent.com/u/76412717?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquity", + "html_url": "https://github.com/ubiquity", + "followers_url": "https://api.github.com/users/ubiquity/followers", + "following_url": "https://api.github.com/users/ubiquity/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquity/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquity/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquity/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquity/orgs", + "repos_url": "https://api.github.com/users/ubiquity/repos", + "events_url": "https://api.github.com/users/ubiquity/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquity/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "UbiquiBot", + "description": "This bot automates functionality of the DevPool by Ubiquity DAO.", + "external_url": "https://github.com/ubiquity/ubiquibot", + "html_url": "https://github.com/apps/ubiquibot", + "created_at": "2022-09-09T11:32:39Z", + "updated_at": "2023-12-21T01:25:09Z", + "permissions": { + "actions": "write", + "contents": "write", + "issues": "write", + "members": "read", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "commit_comment", + "create", + "delete", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "merge_queue_entry", + "milestone", + "organization", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "pull_request_review_thread", + "push", + "release", + "repository", + "repository_dispatch", + "star", + "team", + "team_add", + "watch", + "workflow_dispatch", + "workflow_job", + "workflow_run" + ] + }, + "event": "commented", + "actor": { + "login": "ubiquibot[bot]", + "id": 113181824, + "node_id": "BOT_kgDOBr8EgA", + "avatar_url": "https://avatars.githubusercontent.com/in/236521?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot%5Bbot%5D", + "html_url": "https://github.com/apps/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + } + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949201722", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949201722", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949201722, + "node_id": "IC_kwDOK87YcM50LnU6", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T19:31:03Z", + "updated_at": "2024-02-16T19:31:03Z", + "author_association": "MEMBER", + "body": "> https://github.com/ubiquibot/comment-incentives/actions/runs/7935268560 invalid input sounds unexpected @gitcoindev ??\r\n\r\nIn the repository secrets I think I need to change the key to match @gitcoindev's", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949201722/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + } + }, + { + "id": 11832898707, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBS7ST", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832898707", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:31:04Z", + "performed_via_github_app": null + }, + { + "id": 11832898712, + "node_id": "SE_lADOK87YcM5_fo85zwAAAALBS7SY", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11832898712", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "event": "subscribed", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T19:31:04Z", + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949203681", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949203681", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949203681, + "node_id": "IC_kwDOK87YcM50Lnzh", + "user": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T19:32:24Z", + "updated_at": "2024-02-16T19:34:14Z", + "author_association": "MEMBER", + "body": "I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3iC7GQ`\r\n\r\nI hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!)\r\n\r\nI fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949203681/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + } + }, + { + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T19:35:01Z", + "updated_at": "2024-02-16T19:35:01Z", + "source": { + "type": "issue", + "issue": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/27", + "repository_url": "https://api.github.com/repos/ubiquibot/comment-incentives", + "labels_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/27/labels{/name}", + "comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/27/comments", + "events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/27/events", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/27", + "id": 2139297032, + "node_id": "I_kwDOK87YcM5_gxUI", + "number": 27, + "title": "Enhance Key/Pair Support Experience", + "user": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 6439651030, + "node_id": "LA_kwDOK87YcM8AAAABf9VG1g", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels/Time:%20%3C1%20Day", + "name": "Time: <1 Day", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 6439651119, + "node_id": "LA_kwDOK87YcM8AAAABf9VHLw", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels/Priority:%201%20(Normal)", + "name": "Priority: 1 (Normal)", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 6570101113, + "node_id": "LA_kwDOK87YcM8AAAABh5vJeQ", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels/Price:%20100%20USD", + "name": "Price: 100 USD", + "color": "1f883d", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 2, + "created_at": "2024-02-16T19:35:00Z", + "updated_at": "2024-02-17T08:57:03Z", + "closed_at": "2024-02-17T08:57:00Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "repository": { + "id": 734976112, + "node_id": "R_kgDOK87YcA", + "name": "comment-incentives", + "full_name": "ubiquibot/comment-incentives", + "private": false, + "owner": { + "login": "ubiquibot", + "id": 133917611, + "node_id": "O_kgDOB_trqw", + "avatar_url": "https://avatars.githubusercontent.com/u/133917611?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot", + "html_url": "https://github.com/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot/followers", + "following_url": "https://api.github.com/users/ubiquibot/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot/orgs", + "repos_url": "https://api.github.com/users/ubiquibot/repos", + "events_url": "https://api.github.com/users/ubiquibot/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/ubiquibot/comment-incentives", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/ubiquibot/comment-incentives", + "forks_url": "https://api.github.com/repos/ubiquibot/comment-incentives/forks", + "keys_url": "https://api.github.com/repos/ubiquibot/comment-incentives/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ubiquibot/comment-incentives/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ubiquibot/comment-incentives/teams", + "hooks_url": "https://api.github.com/repos/ubiquibot/comment-incentives/hooks", + "issue_events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events{/number}", + "events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/events", + "assignees_url": "https://api.github.com/repos/ubiquibot/comment-incentives/assignees{/user}", + "branches_url": "https://api.github.com/repos/ubiquibot/comment-incentives/branches{/branch}", + "tags_url": "https://api.github.com/repos/ubiquibot/comment-incentives/tags", + "blobs_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ubiquibot/comment-incentives/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ubiquibot/comment-incentives/languages", + "stargazers_url": "https://api.github.com/repos/ubiquibot/comment-incentives/stargazers", + "contributors_url": "https://api.github.com/repos/ubiquibot/comment-incentives/contributors", + "subscribers_url": "https://api.github.com/repos/ubiquibot/comment-incentives/subscribers", + "subscription_url": "https://api.github.com/repos/ubiquibot/comment-incentives/subscription", + "commits_url": "https://api.github.com/repos/ubiquibot/comment-incentives/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ubiquibot/comment-incentives/contents/{+path}", + "compare_url": "https://api.github.com/repos/ubiquibot/comment-incentives/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ubiquibot/comment-incentives/merges", + "archive_url": "https://api.github.com/repos/ubiquibot/comment-incentives/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ubiquibot/comment-incentives/downloads", + "issues_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues{/number}", + "pulls_url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ubiquibot/comment-incentives/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ubiquibot/comment-incentives/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels{/name}", + "releases_url": "https://api.github.com/repos/ubiquibot/comment-incentives/releases{/id}", + "deployments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/deployments", + "created_at": "2023-12-23T08:06:55Z", + "updated_at": "2024-01-16T23:26:54Z", + "pushed_at": "2024-03-14T22:51:18Z", + "git_url": "git://github.com/ubiquibot/comment-incentives.git", + "ssh_url": "git@github.com:ubiquibot/comment-incentives.git", + "clone_url": "https://github.com/ubiquibot/comment-incentives.git", + "svn_url": "https://github.com/ubiquibot/comment-incentives", + "homepage": null, + "size": 588, + "stargazers_count": 1, + "watchers_count": 1, + "language": "TypeScript", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + + ], + "visibility": "public", + "forks": 10, + "open_issues": 6, + "watchers": 1, + "default_branch": "main" + }, + "body": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949203681", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/27/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/27/timeline", + "performed_via_github_app": null, + "state_reason": "not_planned" + } + }, + "event": "cross-referenced" + }, + { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949333227", + "html_url": "https://github.com/ubiquibot/comment-incentives/issues/22#issuecomment-1949333227", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/22", + "id": 1949333227, + "node_id": "IC_kwDOK87YcM50MHbr", + "user": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2024-02-16T21:04:14Z", + "updated_at": "2024-02-16T21:04:14Z", + "author_association": "CONTRIBUTOR", + "body": "@molecula451 I tried to override X25519_PRIVATE_KEY but it did not help. It seems that https://github.com/ubiquibot/production/blob/1937a6ba75588f51d1bf07fed1f6384f79090465/.github/ubiquibot-config.yml#L2 takes precedence over https://github.com/ubiquibot/comment-incentives/blob/main/.github/ubiquibot-config.yml#L2 (I see the first one in logs). ", + "reactions": { + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments/1949333227/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null, + "event": "commented", + "actor": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + } + }, + { + "id": 11833732261, + "node_id": "MEE_lADOK87YcM5_fo85zwAAAALBWGyl", + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events/11833732261", + "actor": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "event": "mentioned", + "commit_id": null, + "commit_url": null, + "created_at": "2024-02-16T21:04:15Z", + "performed_via_github_app": null + } +] diff --git a/tests/__mocks__/routes/pulls-comments-get.json b/tests/__mocks__/routes/pulls-comments-get.json new file mode 100644 index 00000000..41b42e67 --- /dev/null +++ b/tests/__mocks__/routes/pulls-comments-get.json @@ -0,0 +1,3 @@ +[ + +] diff --git a/tests/__mocks__/routes/pulls-get.json b/tests/__mocks__/routes/pulls-get.json new file mode 100644 index 00000000..48c16040 --- /dev/null +++ b/tests/__mocks__/routes/pulls-get.json @@ -0,0 +1,412 @@ +{ + "url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25", + "id": 1730006888, + "node_id": "PR_kwDOK87YcM5nHc9o", + "html_url": "https://github.com/ubiquibot/comment-incentives/pull/25", + "diff_url": "https://github.com/ubiquibot/comment-incentives/pull/25.diff", + "patch_url": "https://github.com/ubiquibot/comment-incentives/pull/25.patch", + "issue_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25", + "number": 25, + "state": "closed", + "locked": false, + "title": "chore: add new shared evmPrivateKeyEncrypted", + "user": { + "login": "gitcoindev", + "id": 88761781, + "node_id": "MDQ6VXNlcjg4NzYxNzgx", + "avatar_url": "https://avatars.githubusercontent.com/u/88761781?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gitcoindev", + "html_url": "https://github.com/gitcoindev", + "followers_url": "https://api.github.com/users/gitcoindev/followers", + "following_url": "https://api.github.com/users/gitcoindev/following{/other_user}", + "gists_url": "https://api.github.com/users/gitcoindev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gitcoindev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gitcoindev/subscriptions", + "organizations_url": "https://api.github.com/users/gitcoindev/orgs", + "repos_url": "https://api.github.com/users/gitcoindev/repos", + "events_url": "https://api.github.com/users/gitcoindev/events{/privacy}", + "received_events_url": "https://api.github.com/users/gitcoindev/received_events", + "type": "User", + "site_admin": false + }, + "body": "The new evmPrivateKeyEncrypted generated for address 0x3a2E44e10AbEf5CB4a6E492c5ba93d30068d2D95 (no funds).\r\n\r\nResolves: https://github.com/ubiquibot/comment-incentives/issues/22", + "created_at": "2024-02-16T18:10:14Z", + "updated_at": "2024-02-16T19:27:30Z", + "closed_at": "2024-02-16T19:22:01Z", + "merged_at": "2024-02-16T19:22:01Z", + "merge_commit_sha": "6dc8be64f37d6d9eb14f1d815cb569091decca63", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + { + "login": "0x4007", + "id": 4975670, + "node_id": "MDQ6VXNlcjQ5NzU2NzA=", + "avatar_url": "https://avatars.githubusercontent.com/u/4975670?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0x4007", + "html_url": "https://github.com/0x4007", + "followers_url": "https://api.github.com/users/0x4007/followers", + "following_url": "https://api.github.com/users/0x4007/following{/other_user}", + "gists_url": "https://api.github.com/users/0x4007/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0x4007/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0x4007/subscriptions", + "organizations_url": "https://api.github.com/users/0x4007/orgs", + "repos_url": "https://api.github.com/users/0x4007/repos", + "events_url": "https://api.github.com/users/0x4007/events{/privacy}", + "received_events_url": "https://api.github.com/users/0x4007/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [ + + ], + "labels": [ + + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25/commits", + "review_comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25/comments", + "review_comment_url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25/comments", + "statuses_url": "https://api.github.com/repos/ubiquibot/comment-incentives/statuses/34ec9c6ba323c35421b002f6aaaaebdf8fdf20da", + "head": { + "label": "korrrba:add-shared-X25519_PRIVATE_KEY-for-development", + "ref": "add-shared-X25519_PRIVATE_KEY-for-development", + "sha": "34ec9c6ba323c35421b002f6aaaaebdf8fdf20da", + "user": { + "login": "korrrba", + "id": 142971740, + "node_id": "O_kgDOCIWTXA", + "avatar_url": "https://avatars.githubusercontent.com/u/142971740?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/korrrba", + "html_url": "https://github.com/korrrba", + "followers_url": "https://api.github.com/users/korrrba/followers", + "following_url": "https://api.github.com/users/korrrba/following{/other_user}", + "gists_url": "https://api.github.com/users/korrrba/gists{/gist_id}", + "starred_url": "https://api.github.com/users/korrrba/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/korrrba/subscriptions", + "organizations_url": "https://api.github.com/users/korrrba/orgs", + "repos_url": "https://api.github.com/users/korrrba/repos", + "events_url": "https://api.github.com/users/korrrba/events{/privacy}", + "received_events_url": "https://api.github.com/users/korrrba/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 758007582, + "node_id": "R_kgDOLS5HHg", + "name": "comment-incentives", + "full_name": "korrrba/comment-incentives", + "private": false, + "owner": { + "login": "korrrba", + "id": 142971740, + "node_id": "O_kgDOCIWTXA", + "avatar_url": "https://avatars.githubusercontent.com/u/142971740?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/korrrba", + "html_url": "https://github.com/korrrba", + "followers_url": "https://api.github.com/users/korrrba/followers", + "following_url": "https://api.github.com/users/korrrba/following{/other_user}", + "gists_url": "https://api.github.com/users/korrrba/gists{/gist_id}", + "starred_url": "https://api.github.com/users/korrrba/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/korrrba/subscriptions", + "organizations_url": "https://api.github.com/users/korrrba/orgs", + "repos_url": "https://api.github.com/users/korrrba/repos", + "events_url": "https://api.github.com/users/korrrba/events{/privacy}", + "received_events_url": "https://api.github.com/users/korrrba/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/korrrba/comment-incentives", + "description": null, + "fork": true, + "url": "https://api.github.com/repos/korrrba/comment-incentives", + "forks_url": "https://api.github.com/repos/korrrba/comment-incentives/forks", + "keys_url": "https://api.github.com/repos/korrrba/comment-incentives/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/korrrba/comment-incentives/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/korrrba/comment-incentives/teams", + "hooks_url": "https://api.github.com/repos/korrrba/comment-incentives/hooks", + "issue_events_url": "https://api.github.com/repos/korrrba/comment-incentives/issues/events{/number}", + "events_url": "https://api.github.com/repos/korrrba/comment-incentives/events", + "assignees_url": "https://api.github.com/repos/korrrba/comment-incentives/assignees{/user}", + "branches_url": "https://api.github.com/repos/korrrba/comment-incentives/branches{/branch}", + "tags_url": "https://api.github.com/repos/korrrba/comment-incentives/tags", + "blobs_url": "https://api.github.com/repos/korrrba/comment-incentives/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/korrrba/comment-incentives/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/korrrba/comment-incentives/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/korrrba/comment-incentives/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/korrrba/comment-incentives/statuses/{sha}", + "languages_url": "https://api.github.com/repos/korrrba/comment-incentives/languages", + "stargazers_url": "https://api.github.com/repos/korrrba/comment-incentives/stargazers", + "contributors_url": "https://api.github.com/repos/korrrba/comment-incentives/contributors", + "subscribers_url": "https://api.github.com/repos/korrrba/comment-incentives/subscribers", + "subscription_url": "https://api.github.com/repos/korrrba/comment-incentives/subscription", + "commits_url": "https://api.github.com/repos/korrrba/comment-incentives/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/korrrba/comment-incentives/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/korrrba/comment-incentives/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/korrrba/comment-incentives/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/korrrba/comment-incentives/contents/{+path}", + "compare_url": "https://api.github.com/repos/korrrba/comment-incentives/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/korrrba/comment-incentives/merges", + "archive_url": "https://api.github.com/repos/korrrba/comment-incentives/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/korrrba/comment-incentives/downloads", + "issues_url": "https://api.github.com/repos/korrrba/comment-incentives/issues{/number}", + "pulls_url": "https://api.github.com/repos/korrrba/comment-incentives/pulls{/number}", + "milestones_url": "https://api.github.com/repos/korrrba/comment-incentives/milestones{/number}", + "notifications_url": "https://api.github.com/repos/korrrba/comment-incentives/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/korrrba/comment-incentives/labels{/name}", + "releases_url": "https://api.github.com/repos/korrrba/comment-incentives/releases{/id}", + "deployments_url": "https://api.github.com/repos/korrrba/comment-incentives/deployments", + "created_at": "2024-02-15T12:48:23Z", + "updated_at": "2024-02-16T14:41:27Z", + "pushed_at": "2024-04-16T09:32:50Z", + "git_url": "git://github.com/korrrba/comment-incentives.git", + "ssh_url": "git@github.com:korrrba/comment-incentives.git", + "clone_url": "https://github.com/korrrba/comment-incentives.git", + "svn_url": "https://github.com/korrrba/comment-incentives", + "homepage": null, + "size": 594, + "stargazers_count": 0, + "watchers_count": 0, + "language": "TypeScript", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + + ], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "ubiquibot:main", + "ref": "main", + "sha": "d764c2afe70950b859c063777c15977421a38e2d", + "user": { + "login": "ubiquibot", + "id": 133917611, + "node_id": "O_kgDOB_trqw", + "avatar_url": "https://avatars.githubusercontent.com/u/133917611?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot", + "html_url": "https://github.com/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot/followers", + "following_url": "https://api.github.com/users/ubiquibot/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot/orgs", + "repos_url": "https://api.github.com/users/ubiquibot/repos", + "events_url": "https://api.github.com/users/ubiquibot/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 734976112, + "node_id": "R_kgDOK87YcA", + "name": "comment-incentives", + "full_name": "ubiquibot/comment-incentives", + "private": false, + "owner": { + "login": "ubiquibot", + "id": 133917611, + "node_id": "O_kgDOB_trqw", + "avatar_url": "https://avatars.githubusercontent.com/u/133917611?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ubiquibot", + "html_url": "https://github.com/ubiquibot", + "followers_url": "https://api.github.com/users/ubiquibot/followers", + "following_url": "https://api.github.com/users/ubiquibot/following{/other_user}", + "gists_url": "https://api.github.com/users/ubiquibot/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ubiquibot/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ubiquibot/subscriptions", + "organizations_url": "https://api.github.com/users/ubiquibot/orgs", + "repos_url": "https://api.github.com/users/ubiquibot/repos", + "events_url": "https://api.github.com/users/ubiquibot/events{/privacy}", + "received_events_url": "https://api.github.com/users/ubiquibot/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/ubiquibot/comment-incentives", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/ubiquibot/comment-incentives", + "forks_url": "https://api.github.com/repos/ubiquibot/comment-incentives/forks", + "keys_url": "https://api.github.com/repos/ubiquibot/comment-incentives/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ubiquibot/comment-incentives/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ubiquibot/comment-incentives/teams", + "hooks_url": "https://api.github.com/repos/ubiquibot/comment-incentives/hooks", + "issue_events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/events{/number}", + "events_url": "https://api.github.com/repos/ubiquibot/comment-incentives/events", + "assignees_url": "https://api.github.com/repos/ubiquibot/comment-incentives/assignees{/user}", + "branches_url": "https://api.github.com/repos/ubiquibot/comment-incentives/branches{/branch}", + "tags_url": "https://api.github.com/repos/ubiquibot/comment-incentives/tags", + "blobs_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ubiquibot/comment-incentives/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ubiquibot/comment-incentives/languages", + "stargazers_url": "https://api.github.com/repos/ubiquibot/comment-incentives/stargazers", + "contributors_url": "https://api.github.com/repos/ubiquibot/comment-incentives/contributors", + "subscribers_url": "https://api.github.com/repos/ubiquibot/comment-incentives/subscribers", + "subscription_url": "https://api.github.com/repos/ubiquibot/comment-incentives/subscription", + "commits_url": "https://api.github.com/repos/ubiquibot/comment-incentives/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ubiquibot/comment-incentives/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ubiquibot/comment-incentives/contents/{+path}", + "compare_url": "https://api.github.com/repos/ubiquibot/comment-incentives/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ubiquibot/comment-incentives/merges", + "archive_url": "https://api.github.com/repos/ubiquibot/comment-incentives/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ubiquibot/comment-incentives/downloads", + "issues_url": "https://api.github.com/repos/ubiquibot/comment-incentives/issues{/number}", + "pulls_url": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ubiquibot/comment-incentives/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ubiquibot/comment-incentives/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ubiquibot/comment-incentives/labels{/name}", + "releases_url": "https://api.github.com/repos/ubiquibot/comment-incentives/releases{/id}", + "deployments_url": "https://api.github.com/repos/ubiquibot/comment-incentives/deployments", + "created_at": "2023-12-23T08:06:55Z", + "updated_at": "2024-01-16T23:26:54Z", + "pushed_at": "2024-03-14T22:51:18Z", + "git_url": "git://github.com/ubiquibot/comment-incentives.git", + "ssh_url": "git@github.com:ubiquibot/comment-incentives.git", + "clone_url": "https://github.com/ubiquibot/comment-incentives.git", + "svn_url": "https://github.com/ubiquibot/comment-incentives", + "homepage": null, + "size": 588, + "stargazers_count": 1, + "watchers_count": 1, + "language": "TypeScript", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 10, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + + ], + "visibility": "public", + "forks": 10, + "open_issues": 6, + "watchers": 1, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25" + }, + "html": { + "href": "https://github.com/ubiquibot/comment-incentives/pull/25" + }, + "issue": { + "href": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25" + }, + "comments": { + "href": "https://api.github.com/repos/ubiquibot/comment-incentives/issues/25/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/ubiquibot/comment-incentives/pulls/25/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/ubiquibot/comment-incentives/statuses/34ec9c6ba323c35421b002f6aaaaebdf8fdf20da" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "molecula451", + "id": 41552663, + "node_id": "MDQ6VXNlcjQxNTUyNjYz", + "avatar_url": "https://avatars.githubusercontent.com/u/41552663?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/molecula451", + "html_url": "https://github.com/molecula451", + "followers_url": "https://api.github.com/users/molecula451/followers", + "following_url": "https://api.github.com/users/molecula451/following{/other_user}", + "gists_url": "https://api.github.com/users/molecula451/gists{/gist_id}", + "starred_url": "https://api.github.com/users/molecula451/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/molecula451/subscriptions", + "organizations_url": "https://api.github.com/users/molecula451/orgs", + "repos_url": "https://api.github.com/users/molecula451/repos", + "events_url": "https://api.github.com/users/molecula451/events{/privacy}", + "received_events_url": "https://api.github.com/users/molecula451/received_events", + "type": "User", + "site_admin": false + }, + "comments": 6, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 3, + "additions": 17, + "deletions": 1, + "changed_files": 2 +} diff --git a/tests/__mocks__/routes/pulls-reviews-get.json b/tests/__mocks__/routes/pulls-reviews-get.json new file mode 100644 index 00000000..41b42e67 --- /dev/null +++ b/tests/__mocks__/routes/pulls-reviews-get.json @@ -0,0 +1,3 @@ +[ + +] diff --git a/src/data-collection/collect-linked-pulls.test.ts b/tests/collect-linked-pulls.test.ts similarity index 92% rename from src/data-collection/collect-linked-pulls.test.ts rename to tests/collect-linked-pulls.test.ts index 5aa90f37..c4862361 100644 --- a/src/data-collection/collect-linked-pulls.test.ts +++ b/tests/collect-linked-pulls.test.ts @@ -1,12 +1,12 @@ -import { IssueParams, parseGitHubUrl } from "../start"; +import { IssueParams, parseGitHubUrl } from "../src/start"; -import ISSUE_CROSS_REPO_LINK from "./fixtures/issue-89.json"; // pr188 is linked to this issue -import ISSUE_SAME_REPO_LINK from "./fixtures/issue-90.json"; // pr91 is linked to this issue -import ISSUE_NO_LINK from "./fixtures/issue-92.json"; // no link +import ISSUE_CROSS_REPO_LINK from "../src/data-collection/fixtures/issue-89.json"; // pr188 is linked to this issue +import ISSUE_SAME_REPO_LINK from "../src/data-collection/fixtures/issue-90.json"; // pr91 is linked to this issue +import ISSUE_NO_LINK from "../src/data-collection/fixtures/issue-92.json"; // no link -import { collectLinkedMergedPulls, collectLinkedPulls } from "./collect-linked-pulls"; -import PR_CROSS_REPO_LINK from "./fixtures/pr-188.json"; -import PR_SAME_REPO_LINK from "./fixtures/pr-91.json"; +import { collectLinkedMergedPulls, collectLinkedPulls } from "../src/data-collection/collect-linked-pulls"; +import PR_CROSS_REPO_LINK from "../src/data-collection/fixtures/pr-188.json"; +import PR_SAME_REPO_LINK from "../src/data-collection/fixtures/pr-91.json"; const PARAMS_ISSUE_CROSS_REPO_LINK: IssueParams = parseGitHubUrl(ISSUE_CROSS_REPO_LINK.html_url); // cross repo link const PARAMS_ISSUE_SAME_REPO_LINK: IssueParams = parseGitHubUrl(ISSUE_SAME_REPO_LINK.html_url); // same repo link diff --git a/src/get-activity.test.ts b/tests/get-activity.test.ts similarity index 89% rename from src/get-activity.test.ts rename to tests/get-activity.test.ts index 36032477..d0f5fa1d 100644 --- a/src/get-activity.test.ts +++ b/tests/get-activity.test.ts @@ -1,6 +1,6 @@ -import { IssueActivity } from "./issue-activity"; -import { Processor } from "./parser/processor"; -import { parseGitHubUrl } from "./start"; +import { IssueActivity } from "../src/issue-activity"; +import { Processor } from "../src/parser/processor"; +import { parseGitHubUrl } from "../src/start"; // Mock process.argv const issueUrl = process.env.TEST_ISSUE_URL || "https://github.com/ubiquibot/comment-incentives/issues/22"; diff --git a/tests/process.issue.test.ts b/tests/process.issue.test.ts new file mode 100644 index 00000000..07109499 --- /dev/null +++ b/tests/process.issue.test.ts @@ -0,0 +1,41 @@ +import { parseGitHubUrl } from "../src/start"; +import { IssueActivity } from "../src/issue-activity"; +import { Processor } from "../src/parser/processor"; +import { UserExtractorModule } from "../src/parser/user-extractor-module"; +import { server } from "./__mocks__/node"; +import { DataPurgeModule } from "../src/parser/data-purge-module"; +import userCommentResults from "./__mocks__/results/user-comment-results.json"; +import dataPurgeResults from "./__mocks__/results/data-purge-result.json"; + +const issueUrl = process.env.TEST_ISSUE_URL || "https://github.com/ubiquibot/comment-incentives/issues/22"; + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("Modules tests", () => { + const issue = parseGitHubUrl(issueUrl); + const activity = new IssueActivity(issue); + + beforeAll(async () => { + await activity.init(); + }); + + it("Should extract users from comments", async () => { + const logSpy = jest.spyOn(console, "log"); + const processor = new Processor(); + processor["_transformers"] = [new UserExtractorModule()]; + await processor.run(activity); + processor.dump(); + expect(logSpy).toHaveBeenCalledWith(JSON.stringify(userCommentResults, undefined, 2)); + }); + + it("Should purge data", async () => { + const logSpy = jest.spyOn(console, "log"); + const processor = new Processor(); + processor["_transformers"] = [new UserExtractorModule(), new DataPurgeModule()]; + await processor.run(activity); + processor.dump(); + expect(logSpy).toHaveBeenCalledWith(JSON.stringify(dataPurgeResults, undefined, 2)); + }); +}); diff --git a/tsconfig.json b/tsconfig.json index b1b1546d..8fe01bab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, + "target": "ES2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ diff --git a/yarn.lock b/yarn.lock index eb4044b7..a02f22f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1057,6 +1057,20 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@bundled-es-modules/cookie@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@bundled-es-modules/cookie/-/cookie-2.0.0.tgz#c3b82703969a61cf6a46e959a012b2c257f6b164" + integrity sha512-Or6YHg/kamKHpxULAdSqhGqnWFneIXu1NKvvfBBzKGwpVsYuFIQ5aBPHDnnoR3ghW1nvSkALd+EF9iMtY7Vjxw== + dependencies: + cookie "^0.5.0" + +"@bundled-es-modules/statuses@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@bundled-es-modules/statuses/-/statuses-1.0.1.tgz#761d10f44e51a94902c4da48675b71a76cc98872" + integrity sha512-yn7BklA5acgcBr+7w064fGV+SGIFySjCKpqjcWgBAIfrAkY+4GQTJJHQMeT3V/sgz23VTEVV8TtOmkvJAhFVfg== + dependencies: + statuses "^2.0.1" + "@commander-js/extra-typings@12.0.1": version "12.0.1" resolved "https://registry.yarnpkg.com/@commander-js/extra-typings/-/extra-typings-12.0.1.tgz#4a74a9ccf1d19ef24e71df59359c6d90a605a469" @@ -2117,6 +2131,43 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== +"@inquirer/confirm@^3.0.0": + version "3.1.5" + resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-3.1.5.tgz#21856f937bc8292eca4146c052271107f8ac949a" + integrity sha512-6+dwZrpko5vr5EFEQmUbfBVhtu6IsnB8lQNsLHgO9S9fbfS5J6MuUj+NY0h98pPpYZXEazLR7qzypEDqVzf6aQ== + dependencies: + "@inquirer/core" "^8.0.1" + "@inquirer/type" "^1.3.0" + +"@inquirer/core@^8.0.1": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-8.0.1.tgz#ac3d9a34a6826dc193791b2feec19061a9c250ca" + integrity sha512-qJRk1y51Os2ARc11Bg2N6uIwiQ9qBSrmZeuMonaQ/ntFpb4+VlcQ8Gl1TFH67mJLz3HA2nvuave0nbv6Lu8pbg== + dependencies: + "@inquirer/figures" "^1.0.1" + "@inquirer/type" "^1.3.0" + "@types/mute-stream" "^0.0.4" + "@types/node" "^20.12.7" + "@types/wrap-ansi" "^3.0.0" + ansi-escapes "^4.3.2" + chalk "^4.1.2" + cli-spinners "^2.9.2" + cli-width "^4.1.0" + mute-stream "^1.0.0" + signal-exit "^4.1.0" + strip-ansi "^6.0.1" + wrap-ansi "^6.2.0" + +"@inquirer/figures@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.1.tgz#d65f0bd0e9511a90b4d3543ee6a3ce7211f29417" + integrity sha512-mtup3wVKia3ZwULPHcbs4Mor8Voi+iIXEWD7wCNbIO6lYR62oPCTQyrddi5OMYVXHzeCSoneZwJuS8sBvlEwDw== + +"@inquirer/type@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-1.3.0.tgz#9dcb4e0e8bbec03063aff7806072cc90eea2c61d" + integrity sha512-RW4Zf6RCTnInRaOZuRHTqAUl+v6VJuQGglir7nW2BkT3OXOphMhkIFhvFRjorBx2l0VwtC/M4No8vYR65TdN9Q== + "@isaacs/cliui@^8.0.2": version "8.0.2" resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" @@ -2377,6 +2428,23 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@mswjs/cookies@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@mswjs/cookies/-/cookies-1.1.0.tgz#1528eb43630caf83a1d75d5332b30e75e9bb1b5b" + integrity sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw== + +"@mswjs/interceptors@^0.26.14": + version "0.26.15" + resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.26.15.tgz#256ad5c89f325c87d972cc27fc7d0d6d382ce804" + integrity sha512-HM47Lu1YFmnYHKMBynFfjCp0U/yRskHj/8QEJW0CBEPOlw8Gkmjfll+S9b8M7V5CNDw2/ciRxjjnWeaCiblSIQ== + dependencies: + "@open-draft/deferred-promise" "^2.2.0" + "@open-draft/logger" "^0.3.0" + "@open-draft/until" "^2.0.0" + is-node-process "^1.2.0" + outvariant "^1.2.1" + strict-event-emitter "^0.5.1" + "@noble/curves@1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" @@ -2520,10 +2588,10 @@ resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-20.0.0.tgz#9ec2daa0090eeb865ee147636e0c00f73790c6e5" integrity sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA== -"@octokit/openapi-types@^22.0.1": - version "22.0.1" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-22.0.1.tgz#41f5b1c4dad3e547906ea9258837fcbea7cc72b4" - integrity sha512-1yN5m1IMNXthoBDUXFF97N1gHop04B3H8ws7wtOr8GgRyDO1gKALjwMHARNBoMBiB/2vEe/vxstrApcJZzQbnQ== +"@octokit/openapi-types@^22.1.0": + version "22.1.0" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-22.1.0.tgz#6aa72f35fb29318064e4ab60972f40429857eb2e" + integrity sha512-pGUdSP+eEPfZiQHNkZI0U01HLipxncisdJQB4G//OAmfeO8sqTQ9KRa0KF03TUPCziNsoXUrTg4B2Q1EX++T0Q== "@octokit/openapi-webhooks-types@8.1.1": version "8.1.1" @@ -2559,9 +2627,9 @@ once "^1.4.0" "@octokit/request-error@^6.0.1": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-6.1.0.tgz#8b69a5c6db3674369a84722ce3d06b58f1d71584" - integrity sha512-xcLJv4IgfWIOEEVZwfhUN3yHNWJL0AMw1J1Ba8BofM9RdDTbapg6MO4zNxlPS4XXX9aAIsbDRa47K57EhgeVAw== + version "6.1.1" + resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-6.1.1.tgz#bed1b5f52ce7fefb1077a92bf42124ff36f73f2c" + integrity sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg== dependencies: "@octokit/types" "^13.0.0" @@ -2593,11 +2661,11 @@ "@octokit/openapi-types" "^20.0.0" "@octokit/types@^13.0.0", "@octokit/types@^13.1.0": - version "13.4.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-13.4.0.tgz#b9f6865a6fc491387352d7f327e1f030fa7be1cd" - integrity sha512-WlMegy3lPXYWASe3k9Jslc5a0anrYAYMWtsFrxBTdQjS70hvLH6C+PGvHbOsgy3RA3LouGJoU/vAt4KarecQLQ== + version "13.4.1" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-13.4.1.tgz#ad3574488cce6792e5d981a1bdf4b694e1ca349f" + integrity sha512-Y73oOAzRBAUzR/iRAbGULzpNkX8vaxKCqEtg6K74Ff3w9f5apFnWtE/2nade7dMWWW3bS5Kkd6DJS4HF04xreg== dependencies: - "@octokit/openapi-types" "^22.0.1" + "@octokit/openapi-types" "^22.1.0" "@octokit/webhooks-methods@^5.0.0": version "5.1.0" @@ -2614,6 +2682,24 @@ "@octokit/webhooks-methods" "^5.0.0" aggregate-error "^5.0.0" +"@open-draft/deferred-promise@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz#4a822d10f6f0e316be4d67b4d4f8c9a124b073bd" + integrity sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA== + +"@open-draft/logger@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@open-draft/logger/-/logger-0.3.0.tgz#2b3ab1242b360aa0adb28b85f5d7da1c133a0954" + integrity sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ== + dependencies: + is-node-process "^1.2.0" + outvariant "^1.4.0" + +"@open-draft/until@^2.0.0", "@open-draft/until@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-2.1.0.tgz#0acf32f470af2ceaf47f095cdecd40d68666efda" + integrity sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg== + "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" @@ -2870,6 +2956,11 @@ dependencies: "@babel/types" "^7.20.7" +"@types/cookie@^0.6.0": + version "0.6.0" + resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.6.0.tgz#eac397f28bf1d6ae0ae081363eca2f425bedf0d5" + integrity sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA== + "@types/graceful-fs@^4.1.3": version "4.1.9" resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" @@ -2941,6 +3032,13 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== +"@types/mute-stream@^0.0.4": + version "0.0.4" + resolved "https://registry.yarnpkg.com/@types/mute-stream/-/mute-stream-0.0.4.tgz#77208e56a08767af6c5e1237be8888e2f255c478" + integrity sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow== + dependencies: + "@types/node" "*" + "@types/node-fetch@^2.6.4": version "2.6.11" resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24" @@ -2949,7 +3047,7 @@ "@types/node" "*" form-data "^4.0.0" -"@types/node@*": +"@types/node@*", "@types/node@^20.12.7": version "20.12.7" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.7.tgz#04080362fa3dd6c5822061aa3124f5c152cff384" integrity sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg== @@ -3000,11 +3098,21 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== +"@types/statuses@^2.0.4": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@types/statuses/-/statuses-2.0.5.tgz#f61ab46d5352fd73c863a1ea4e1cef3b0b51ae63" + integrity sha512-jmIUGWrAiwu3dZpxntxieC+1n/5c3mjrImkmOSQ2NC5uP6cYO4aAZDdSmRcI5C1oiTmqlZGHC+/NmJrKogbP5A== + "@types/tough-cookie@*": version "4.0.5" resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.5.tgz#cb6e2a691b70cb177c6e3ae9c1d2e8b2ea8cd304" integrity sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA== +"@types/wrap-ansi@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz#18b97a972f94f60a679fd5c796d96421b9abb9fd" + integrity sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g== + "@types/ws@^8.5.10": version "8.5.10" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" @@ -3110,10 +3218,10 @@ "@typescript-eslint/types" "6.21.0" eslint-visitor-keys "^3.4.1" -"@ubiquibot/permit-generation@1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@ubiquibot/permit-generation/-/permit-generation-1.0.3.tgz#1f47a090b600f2ab9f0a298abbd0d0cda0aaedff" - integrity sha512-ATsWYPsMauMrYY+xAZmMsxB57y/8L5bnsUfpYdwGqSlYgDL+8kaLfkGDJH3EVTssZa5asmh7tcU7RP75FZRM+g== +"@ubiquibot/permit-generation@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@ubiquibot/permit-generation/-/permit-generation-1.2.1.tgz#e4cbeedf5aca9f1b088e4bcf06e97991fe428131" + integrity sha512-OSr4Pfcuy51AeasAKVVGuRcgUE9de7erLiv67dMxewMpCMdM0xZn+ash1FbV5EtbxkNRyO2uu1wCTV/z5cbhUg== dependencies: "@actions/core" "^1.10.1" "@actions/github" "^6.0.0" @@ -3241,7 +3349,7 @@ ajv@^8.11.0: require-from-string "^2.0.2" uri-js "^4.2.2" -ansi-escapes@^4.2.1: +ansi-escapes@^4.2.1, ansi-escapes@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== @@ -3378,7 +3486,7 @@ available-typed-arrays@^1.0.7: dependencies: possible-typed-array-names "^1.0.0" -babel-jest@^29.7.0: +babel-jest@29.7.0, babel-jest@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== @@ -3627,7 +3735,7 @@ chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.1.0: +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -3682,6 +3790,11 @@ cli-cursor@^4.0.0: dependencies: restore-cursor "^4.0.0" +cli-spinners@^2.9.2: + version "2.9.2" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41" + integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== + cli-truncate@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-4.0.0.tgz#6cc28a2924fee9e25ce91e973db56c7066e6172a" @@ -3690,6 +3803,11 @@ cli-truncate@^4.0.0: slice-ansi "^5.0.0" string-width "^7.0.0" +cli-width@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-4.1.0.tgz#42daac41d3c254ef38ad8ac037672130173691c5" + integrity sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ== + cliui@^8.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" @@ -3836,10 +3954,15 @@ convert-source-map@^2.0.0: resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== +cookie@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== + core-js-compat@^3.31.0, core-js-compat@^3.34.0: - version "3.36.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.36.1.tgz#1818695d72c99c25d621dca94e6883e190cea3c8" - integrity sha512-Dk997v9ZCt3X/npqzyGdTlq6t7lDBhZwGvV94PKzDArjp7BTRm7WlDAXYd/OWdeFHO8OChQYRJNJvUCqCbrtKA== + version "3.37.0" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.37.0.tgz#d9570e544163779bb4dff1031c7972f44918dc73" + integrity sha512-vYq4L+T8aS5UuFg4UwDhc7YNRWVeVZwltad9C/jV3R2LgVOpS9BDr7l/WL6BN0dbV3k1XejPTHqqEzJgsa0frA== dependencies: browserslist "^4.23.0" @@ -4233,9 +4356,9 @@ easy-table@1.2.0: wcwidth "^1.0.1" electron-to-chromium@^1.4.668: - version "1.4.736" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.736.tgz#ecb4348f4d5c70fb1e31c347e5bad6b751066416" - integrity sha512-Rer6wc3ynLelKNM4lOCg7/zPQj8tPOCB2hzD32PX9wd3hgRRi9MxEbmkFCokzcEhRVMiOVLjnL9ig9cefJ+6+Q== + version "1.4.738" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.738.tgz#9a7fca98abaee61e20c9c25013d5ce60bb533436" + integrity sha512-lwKft2CLFztD+vEIpesrOtCrko/TFnEJlHFdRhazU7Y/jx5qc4cqsocfVrBg4So4gGe9lvxnbLIoev47WMpg+A== elliptic@6.5.4: version "6.5.4" @@ -5024,6 +5147,11 @@ graphemer@^1.4.0: resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== +graphql@^16.8.1: + version "16.8.1" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" + integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== + hard-rejection@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" @@ -5093,6 +5221,11 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: dependencies: function-bind "^1.1.2" +headers-polyfill@^4.0.2: + version "4.0.3" + resolved "https://registry.yarnpkg.com/headers-polyfill/-/headers-polyfill-4.0.3.tgz#922a0155de30ecc1f785bcf04be77844ca95ad07" + integrity sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ== + hmac-drbg@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" @@ -5364,6 +5497,11 @@ is-negative-zero@^2.0.3: resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== +is-node-process@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/is-node-process/-/is-node-process-1.2.0.tgz#ea02a1b90ddb3934a19aea414e88edef7e11d134" + integrity sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw== + is-number-object@^1.0.4: version "1.0.7" resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" @@ -6526,6 +6664,34 @@ ms@^2.0.0: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== +msw@2.2.14: + version "2.2.14" + resolved "https://registry.yarnpkg.com/msw/-/msw-2.2.14.tgz#ed16b89f99ffc105a84b0295a6fcae2ee99f5c62" + integrity sha512-64i8rNCa1xzDK8ZYsTrVMli05D687jty8+Th+PU5VTbJ2/4P7fkQFVyDQ6ZFT5FrNR8z2BHhbY47fKNvfHrumA== + dependencies: + "@bundled-es-modules/cookie" "^2.0.0" + "@bundled-es-modules/statuses" "^1.0.1" + "@inquirer/confirm" "^3.0.0" + "@mswjs/cookies" "^1.1.0" + "@mswjs/interceptors" "^0.26.14" + "@open-draft/until" "^2.1.0" + "@types/cookie" "^0.6.0" + "@types/statuses" "^2.0.4" + chalk "^4.1.2" + graphql "^16.8.1" + headers-polyfill "^4.0.2" + is-node-process "^1.2.0" + outvariant "^1.4.2" + path-to-regexp "^6.2.0" + strict-event-emitter "^0.5.1" + type-fest "^4.9.0" + yargs "^17.7.2" + +mute-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-1.0.0.tgz#e31bd9fe62f0aed23520aa4324ea6671531e013e" + integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -6756,6 +6922,11 @@ optionator@^0.9.3: prelude-ls "^1.2.1" type-check "^0.4.0" +outvariant@^1.2.1, outvariant@^1.4.0, outvariant@^1.4.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.4.2.tgz#f54f19240eeb7f15b28263d5147405752d8e2066" + integrity sha512-Ou3dJ6bA/UJ5GVHxah4LnqDwZRwAmWxrG3wtrHrbGnP4RnLCtA64A4F+ae7Y8ww660JaddSoArUR5HjipWSHAQ== + p-defer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" @@ -6905,6 +7076,11 @@ path-temp@^2.1.0: dependencies: unique-string "^2.0.0" +path-to-regexp@^6.2.0: + version "6.2.2" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.2.2.tgz#324377a83e5049cbecadc5554d6a63a9a4866b36" + integrity sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw== + path-type@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -6996,9 +7172,9 @@ proc-log@^3.0.0: integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== proc-log@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-4.1.0.tgz#ab6c1552b454e9e467cb58119179e4557d109b34" - integrity sha512-dmQ2iPw2nJMi9/4dpaG1wd0m1GE+K5kW7RGbjy5hoEEGnhPIzsm+klBO5RGGdcoYbWsNtU2KSNAdEldts+icLg== + version "4.2.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-4.2.0.tgz#b6f461e4026e75fdfe228b265e9f7a00779d7034" + integrity sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA== promise-inflight@^1.0.1: version "1.0.1" @@ -7525,6 +7701,16 @@ stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" +statuses@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +strict-event-emitter@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz#1602ece81c51574ca39c6815e09f1a3e8550bd93" + integrity sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ== + string-argv@0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" @@ -7903,6 +8089,11 @@ type-fest@^1.0.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== +type-fest@^4.9.0: + version "4.15.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.15.0.tgz#21da206b89c15774cc718c4f2d693e13a1a14a43" + integrity sha512-tB9lu0pQpX5KJq54g+oHOLumOx+pMep4RaM6liXh2PKmVRFF+/vAtUP0ZaJ0kOySfVNjF6doBWPHhBhISKdlIA== + typed-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz#1867c5d83b20fcb5ccf32649e5e2fc7424474ff3" @@ -8257,6 +8448,15 @@ which@^4.0.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -8377,7 +8577,7 @@ yargs-parser@^21.1.1: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== -yargs@^17.0.0, yargs@^17.3.1: +yargs@^17.0.0, yargs@^17.3.1, yargs@^17.7.2: version "17.7.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==