diff --git a/.vscode/settings.json b/.vscode/settings.json index 2c84fb4..3c52ca3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,3 @@ { - "cSpell.words": [ - "stablecoins" - ] -} \ No newline at end of file + "cSpell.words": ["stablecoins"] +} diff --git a/src/cli/cli-args.ts b/src/cli/cli-args.ts index 539f122..6635ebe 100644 --- a/src/cli/cli-args.ts +++ b/src/cli/cli-args.ts @@ -19,8 +19,7 @@ const optionDefinitions = [ name: "color", type: String, alias: "c", - description: - "Color to use for the label. Must be a six character CSS color string, without the `#` prefix, like `ff0000`.", + description: "Color to use for the label. Must be a six character CSS color string, without the `#` prefix, like `ff0000`.", }, { name: "regex", @@ -32,15 +31,13 @@ const optionDefinitions = [ name: "tool", type: String, alias: "t", - description: - "Pass in the selected labels and perform actions on those labels. Example: `--tool delete-labels` for `tools/delete-labels.ts`", + description: "Pass in the selected labels and perform actions on those labels. Example: `--tool delete-labels` for `tools/delete-labels.ts`", }, { name: "execute", type: Boolean, alias: "x", - description: - "Execute destructive command (e.g. delete label). Otherwise, just print the dry run.", + description: "Execute destructive command (e.g. delete label). Otherwise, just print the dry run.", }, { name: "to", diff --git a/src/cli/cli-entry.ts b/src/cli/cli-entry.ts index 6279800..12da93a 100644 --- a/src/cli/cli-entry.ts +++ b/src/cli/cli-entry.ts @@ -6,9 +6,7 @@ import { log } from "./logging"; export default async function cliEntry() { // Check for required arguments. if (!Args.owner || !Args.repository) { - log.error( - "Missing required arguments: `owner`, `repository` (use -o, and -r)" - ); + log.error("Missing required arguments: `owner`, `repository` (use -o, and -r)"); process.exit(1); } @@ -16,7 +14,7 @@ export default async function cliEntry() { log.info("No tool selected. Use `--tool` to select a tool."); const _tools = fs.readdirSync(`src/tools`); // remove .ts extension - const tools = _tools.map(tool => { + const tools = _tools.map((tool) => { if (tool.endsWith(`.ts`)) { return tool.slice(0, -3); } @@ -35,7 +33,7 @@ export default async function cliEntry() { const selected = await filterLabels(labels, Args.regex); - const selectedBuffer = selected.map(label => label.name); + const selectedBuffer = selected.map((label) => label.name); log.ok(`Selected the following labels:\n\n${selectedBuffer.join("\n")}`); // Select tool diff --git a/src/github-types.ts b/src/github-types.ts index d53c9b4..a9277a2 100644 --- a/src/github-types.ts +++ b/src/github-types.ts @@ -1,8 +1,5 @@ import { Endpoints } from "@octokit/types"; -export type GitHubIssue = - Endpoints["GET /repos/{owner}/{repo}/issues"]["response"]["data"][0]; -export type GitHubComment = - Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"]["response"]["data"][0]; -export type GitHubLabel = - Endpoints["GET /repos/{owner}/{repo}/labels"]["response"]["data"][0]; +export type GitHubIssue = Endpoints["GET /repos/{owner}/{repo}/issues"]["response"]["data"][0]; +export type GitHubComment = Endpoints["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"]["response"]["data"][0]; +export type GitHubLabel = Endpoints["GET /repos/{owner}/{repo}/labels"]["response"]["data"][0]; diff --git a/src/network/get-raw.ts b/src/network/get-raw.ts index e8f67fa..40d3412 100644 --- a/src/network/get-raw.ts +++ b/src/network/get-raw.ts @@ -2,7 +2,7 @@ import * as https from "https"; import { githubToken } from "../utils/get-github-token"; export async function getGitHubRaw(path: string) { - const labelsResponse = await new Promise((resolve, reject) => { + return await new Promise((resolve, reject) => { const options = { hostname: "api.github.com", port: 443, @@ -16,23 +16,19 @@ export async function getGitHubRaw(path: string) { }; const request = https - .get(options, res => { + .get(options, (res) => { if (res.statusCode !== 200) { - reject( - new Error(`Request failed with status code ${res.statusCode}`) - ); + reject(new Error(`Request failed with status code ${res.statusCode}`)); return; } let data = ""; - res.on("data", chunk => (data += chunk)); + res.on("data", (chunk) => (data += chunk)); res.on("end", () => resolve(res)); }) - .on("error", error => reject); + .on("error", (error) => reject); - request.on("error", e => console.error); + request.on("error", (e) => console.error); request.end(); }); - - return labelsResponse; } diff --git a/src/network/get.ts b/src/network/get.ts index e37e2ea..36b53e9 100644 --- a/src/network/get.ts +++ b/src/network/get.ts @@ -2,7 +2,7 @@ import * as https from "https"; import { githubToken } from "../utils/get-github-token"; export async function getGitHub(path: string) { - const labelsResponse = await new Promise((resolve, reject) => { + return await new Promise((resolve, reject) => { const options = { hostname: "api.github.com", port: 443, @@ -16,25 +16,21 @@ export async function getGitHub(path: string) { }; const request = https - .get(options, res => { + .get(options, (res) => { if (res.statusCode !== 200) { - reject( - new Error(`Request failed with status code ${res.statusCode}`) - ); + reject(new Error(`Request failed with status code ${res.statusCode}`)); return; } let data = ""; - res.on("data", chunk => (data += chunk)); + res.on("data", (chunk) => (data += chunk)); res.on("end", () => { resolve(JSON.parse(data)); }); }) - .on("error", error => reject); + .on("error", (error) => reject); - request.on("error", e => console.error); + request.on("error", (e) => console.error); request.end(); }); - - return labelsResponse; } diff --git a/src/network/remove-label.ts b/src/network/remove-label.ts index 0f0763b..73ce8a3 100644 --- a/src/network/remove-label.ts +++ b/src/network/remove-label.ts @@ -12,9 +12,7 @@ export async function removeLabel(label: string) { const options = { hostname: "api.github.com", port: 443, - path: `/repos/${Args.owner}/${ - Args.repository - }/labels/${encodeURIComponent(label)}`, + path: `/repos/${Args.owner}/${Args.repository}/labels/${encodeURIComponent(label)}`, method: "DELETE", headers: { "Content-Type": "application/json", @@ -23,7 +21,7 @@ export async function removeLabel(label: string) { }, }; - const req = https.request(options, res => { + const req = https.request(options, (res) => { if (res.statusCode !== 204) { reject(new Error(`Request failed with status code ${res.statusCode}`)); return; @@ -33,7 +31,7 @@ export async function removeLabel(label: string) { res.on("end", () => resolve(undefined)); }); - req.on("error", error => { + req.on("error", (error) => { reject(error); }); diff --git a/src/tools/assistive-pricing-normalizer.ts b/src/tools/assistive-pricing-normalizer.ts index 1bcc437..a515969 100644 --- a/src/tools/assistive-pricing-normalizer.ts +++ b/src/tools/assistive-pricing-normalizer.ts @@ -30,15 +30,7 @@ export default async function assistivePricingLabelsNormalizer() { Args.color = "ededed"; await resetColors(Object.values(priorityMapping)); - await resetColors([ - "Time: <1 Hour", - "Time: <2 Hours", - "Time: <4 Hours", - "Time: <1 Day", - "Time: <1 Week", - "Time: <2 Weeks", - "Time: <1 Month", - ]); + await resetColors(["Time: <1 Hour", "Time: <2 Hours", "Time: <4 Hours", "Time: <1 Day", "Time: <1 Week", "Time: <2 Weeks", "Time: <1 Month"]); await deletePriceRangeLabels(allLabels); // Filter for `Price: ` labels. @@ -51,10 +43,8 @@ export default async function assistivePricingLabelsNormalizer() { async function deletePriceRangeLabels(allLabels: GitHubLabel[]) { const plusSignLabelRegex = /^Price:\s\d+(\.\d+)?\+\sUSD$/; // regex to match labels with a plus sign - const rangePriceLabels = allLabels.filter(label => - plusSignLabelRegex.test(label.name) - ); - await _deleteLabels(rangePriceLabels.map(label => label.name)); + const rangePriceLabels = allLabels.filter((label) => plusSignLabelRegex.test(label.name)); + await _deleteLabels(rangePriceLabels.map((label) => label.name)); } async function resetColors(labels: string[]) { diff --git a/src/tools/clear-unused-labels.ts b/src/tools/clear-unused-labels.ts index 5880a0c..000e5ba 100755 --- a/src/tools/clear-unused-labels.ts +++ b/src/tools/clear-unused-labels.ts @@ -28,11 +28,9 @@ export default async function clearUnusedLabels(selected: string[]) { async function getUsedLabelsWithCount(): Promise> { const usedLabels = [] as string[]; - const issuesAndPRs = await getGitHub( - `/repos/${Args.owner}/${Args.repository}/issues?per_page=1000` - ); + const issuesAndPRs = await getGitHub(`/repos/${Args.owner}/${Args.repository}/issues?per_page=1000`); - for (const item of issuesAndPRs as typeof singleItem[]) { + for (const item of issuesAndPRs as (typeof singleItem)[]) { item.labels.forEach((label: GitHubLabel) => { usedLabels.push(label.name); }); diff --git a/src/tools/migrate-priority-labels/_update-issue-labels.ts b/src/tools/migrate-priority-labels/_update-issue-labels.ts index aa39d78..5e05c75 100644 --- a/src/tools/migrate-priority-labels/_update-issue-labels.ts +++ b/src/tools/migrate-priority-labels/_update-issue-labels.ts @@ -8,9 +8,7 @@ export async function _updateIssueLabels(oldLabel: string, newLabel: string) { log.ok(`Successfully updated issue labels from ${oldLabel} to ${newLabel}`); } catch (error) { if (error instanceof Error) { - log.error( - `Failed to update issue label ${oldLabel} to ${newLabel}: ${error.message}` - ); + log.error(`Failed to update issue label ${oldLabel} to ${newLabel}: ${error.message}`); } else { console.error(error); } diff --git a/src/tools/migrate-priority-labels/check-if-label-exists.ts b/src/tools/migrate-priority-labels/check-if-label-exists.ts index 9af7559..ea05dca 100644 --- a/src/tools/migrate-priority-labels/check-if-label-exists.ts +++ b/src/tools/migrate-priority-labels/check-if-label-exists.ts @@ -3,7 +3,7 @@ import { GitHubLabel } from "../../github-types"; export function checkIfLabelExists(labels: GitHubLabel[], newLabel: string) { log.info(`Checking if label ${newLabel} exists...`); - const labelExists = labels.some(label => label.name === newLabel); + const labelExists = labels.some((label) => label.name === newLabel); if (labelExists) { log.info(`Label ${newLabel} exists in the repository.`); diff --git a/src/tools/migrate-priority-labels/create-new-label.ts b/src/tools/migrate-priority-labels/create-new-label.ts index cceaa93..98289e2 100644 --- a/src/tools/migrate-priority-labels/create-new-label.ts +++ b/src/tools/migrate-priority-labels/create-new-label.ts @@ -12,9 +12,7 @@ export async function createNewLabel(labelExists: boolean, newLabel: string) { color: "efefef", }); } else { - log.info( - `Label ${newLabel} already exists in the repository. Skipping creation.` - ); + log.info(`Label ${newLabel} already exists in the repository. Skipping creation.`); } } else { log.info("dry run, not creating labels. Use `--execute` to run."); diff --git a/src/tools/migrate-priority-labels/get-all-labels.ts b/src/tools/migrate-priority-labels/get-all-labels.ts index 7709e42..2b814b2 100644 --- a/src/tools/migrate-priority-labels/get-all-labels.ts +++ b/src/tools/migrate-priority-labels/get-all-labels.ts @@ -9,9 +9,7 @@ export async function getAllLabels() { repo: Args.repository, }); - log.info( - `Retrieved ${labels.length} labels from repository ${Args.repository}` - ); + log.info(`Retrieved ${labels.length} labels from repository ${Args.repository}`); return labels; } diff --git a/src/tools/migrate-priority-labels/update-issue-labels.ts b/src/tools/migrate-priority-labels/update-issue-labels.ts index ba68db6..8f78a46 100644 --- a/src/tools/migrate-priority-labels/update-issue-labels.ts +++ b/src/tools/migrate-priority-labels/update-issue-labels.ts @@ -13,12 +13,8 @@ export async function updateIssueLabels(oldLabel: string, newLabel: string) { // Update each issue to have the new label for (const issue of issues.data) { - const labels = (issue.labels as GitHubLabel[]).map(label => - label.name === oldLabel ? newLabel : label.name - ); - log.info( - `Updating labels for issue number ${issue.number} from ${oldLabel} to ${newLabel}` - ); + const labels = (issue.labels as GitHubLabel[]).map((label) => (label.name === oldLabel ? newLabel : label.name)); + log.info(`Updating labels for issue number ${issue.number} from ${oldLabel} to ${newLabel}`); if (Args.execute) { await octokit.rest.issues.update({ owner: Args.owner, diff --git a/src/tools/migrate-priority-labels/update-label-name.ts b/src/tools/migrate-priority-labels/update-label-name.ts index 6becfd1..e712a49 100644 --- a/src/tools/migrate-priority-labels/update-label-name.ts +++ b/src/tools/migrate-priority-labels/update-label-name.ts @@ -25,9 +25,7 @@ export async function updateLabelName(fromName: string, toName: string) { if ((error as Response).status === 404) { throw new Error(`Label ${fromName} not found`); } else if ((error as Response).status === 422) { - throw new Error( - `Label rename failed: A label with the name '${Args.to}' already exists.` - ); + throw new Error(`Label rename failed: A label with the name '${Args.to}' already exists.`); } throw error; diff --git a/src/tools/reset-colors.ts b/src/tools/reset-colors.ts index 1ae02c6..7c7609a 100644 --- a/src/tools/reset-colors.ts +++ b/src/tools/reset-colors.ts @@ -2,11 +2,7 @@ import filterLabels from "../utils/filter-labels"; import getLabels from "../utils/get-labels"; import colorizeLabels from "./colorize-labels"; -export default async function resetColors(args: { - color?: string; - owner: string; - repository: string; -}) { +export default async function resetColors(args: { color?: string; owner: string; repository: string }) { // Get all labels. const allLabels = await getLabels(); // do not select labels with `^Price:.+` regex diff --git a/src/tools/scrub-comments.ts b/src/tools/scrub-comments.ts index b3843f8..db4fc9b 100644 --- a/src/tools/scrub-comments.ts +++ b/src/tools/scrub-comments.ts @@ -65,9 +65,7 @@ export default async function _scrubComments() { // Edit the comment if (!Args.execute) { - log.info( - "dry run, not editing comments. Use `--execute` to edit comments" - ); + log.info("dry run, not editing comments. Use `--execute` to edit comments"); return; } diff --git a/src/tools/toggle-label.ts b/src/tools/toggle-label.ts index cbac034..727889e 100644 --- a/src/tools/toggle-label.ts +++ b/src/tools/toggle-label.ts @@ -19,14 +19,12 @@ export default async function _toggleLabel() { }); for (const issue of issues) { - const currentLabels = (issue.labels as GitHubLabel[]).map( - label => label.name - ); + const currentLabels = (issue.labels as GitHubLabel[]).map((label) => label.name); let updatedLabels; if (currentLabels.includes(labelToToggle)) { - updatedLabels = currentLabels.filter(label => label !== labelToToggle); + updatedLabels = currentLabels.filter((label) => label !== labelToToggle); } else { updatedLabels = [...currentLabels, labelToToggle]; } diff --git a/src/utils/example-response.d.ts b/src/utils/example-response.d.ts index 17fcd5e..00e5e8e 100644 --- a/src/utils/example-response.d.ts +++ b/src/utils/example-response.d.ts @@ -1,12 +1,9 @@ export const singleItem = { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/events", html_url: "https://github.com/ubiquity/bounty-bot/pull/102", id: 1571654699, node_id: "PR_kwDOH92Z-c5JSqSQ", @@ -21,17 +18,14 @@ export const singleItem = { url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -68,8 +62,7 @@ export const singleItem = { rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/timeline", performed_via_github_app: null, state_reason: null, }; @@ -78,12 +71,9 @@ export default [ { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/events", html_url: "https://github.com/ubiquity/bounty-bot/pull/102", id: 1571654699, node_id: "PR_kwDOH92Z-c5JSqSQ", @@ -98,17 +88,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -145,20 +132,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/102/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/101", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/101", id: 1570362846, node_id: "I_kwDOH92Z-c5dmdXe", @@ -173,17 +156,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -199,20 +179,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -284,20 +258,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/101/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/100", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/100", id: 1567995863, node_id: "I_kwDOH92Z-c5ddbfX", @@ -312,16 +282,14 @@ export default [ url: "https://api.github.com/users/rndquu", html_url: "https://github.com/rndquu", followers_url: "https://api.github.com/users/rndquu/followers", - following_url: - "https://api.github.com/users/rndquu/following{/other_user}", + following_url: "https://api.github.com/users/rndquu/following{/other_user}", gists_url: "https://api.github.com/users/rndquu/gists{/gist_id}", starred_url: "https://api.github.com/users/rndquu/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/rndquu/subscriptions", organizations_url: "https://api.github.com/users/rndquu/orgs", repos_url: "https://api.github.com/users/rndquu/repos", events_url: "https://api.github.com/users/rndquu/events{/privacy}", - received_events_url: - "https://api.github.com/users/rndquu/received_events", + received_events_url: "https://api.github.com/users/rndquu/received_events", type: "User", site_admin: false, }, @@ -337,20 +305,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -402,20 +364,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/100/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/99", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/99", id: 1567994686, node_id: "I_kwDOH92Z-c5ddbM-", @@ -430,16 +388,14 @@ export default [ url: "https://api.github.com/users/rndquu", html_url: "https://github.com/rndquu", followers_url: "https://api.github.com/users/rndquu/followers", - following_url: - "https://api.github.com/users/rndquu/following{/other_user}", + following_url: "https://api.github.com/users/rndquu/following{/other_user}", gists_url: "https://api.github.com/users/rndquu/gists{/gist_id}", starred_url: "https://api.github.com/users/rndquu/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/rndquu/subscriptions", organizations_url: "https://api.github.com/users/rndquu/orgs", repos_url: "https://api.github.com/users/rndquu/repos", events_url: "https://api.github.com/users/rndquu/events{/privacy}", - received_events_url: - "https://api.github.com/users/rndquu/received_events", + received_events_url: "https://api.github.com/users/rndquu/received_events", type: "User", site_admin: false, }, @@ -503,20 +459,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/99/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/98", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/98", id: 1567993799, node_id: "I_kwDOH92Z-c5dda_H", @@ -531,16 +483,14 @@ export default [ url: "https://api.github.com/users/rndquu", html_url: "https://github.com/rndquu", followers_url: "https://api.github.com/users/rndquu/followers", - following_url: - "https://api.github.com/users/rndquu/following{/other_user}", + following_url: "https://api.github.com/users/rndquu/following{/other_user}", gists_url: "https://api.github.com/users/rndquu/gists{/gist_id}", starred_url: "https://api.github.com/users/rndquu/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/rndquu/subscriptions", organizations_url: "https://api.github.com/users/rndquu/orgs", repos_url: "https://api.github.com/users/rndquu/repos", events_url: "https://api.github.com/users/rndquu/events{/privacy}", - received_events_url: - "https://api.github.com/users/rndquu/received_events", + received_events_url: "https://api.github.com/users/rndquu/received_events", type: "User", site_admin: false, }, @@ -597,20 +547,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/98/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/97", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/97", id: 1567991828, node_id: "I_kwDOH92Z-c5ddagU", @@ -625,16 +571,14 @@ export default [ url: "https://api.github.com/users/rndquu", html_url: "https://github.com/rndquu", followers_url: "https://api.github.com/users/rndquu/followers", - following_url: - "https://api.github.com/users/rndquu/following{/other_user}", + following_url: "https://api.github.com/users/rndquu/following{/other_user}", gists_url: "https://api.github.com/users/rndquu/gists{/gist_id}", starred_url: "https://api.github.com/users/rndquu/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/rndquu/subscriptions", organizations_url: "https://api.github.com/users/rndquu/orgs", repos_url: "https://api.github.com/users/rndquu/repos", events_url: "https://api.github.com/users/rndquu/events{/privacy}", - received_events_url: - "https://api.github.com/users/rndquu/received_events", + received_events_url: "https://api.github.com/users/rndquu/received_events", type: "User", site_admin: false, }, @@ -650,20 +594,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -693,20 +631,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/97/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/96", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/96", id: 1567990837, node_id: "I_kwDOH92Z-c5ddaQ1", @@ -721,16 +655,14 @@ export default [ url: "https://api.github.com/users/rndquu", html_url: "https://github.com/rndquu", followers_url: "https://api.github.com/users/rndquu/followers", - following_url: - "https://api.github.com/users/rndquu/following{/other_user}", + following_url: "https://api.github.com/users/rndquu/following{/other_user}", gists_url: "https://api.github.com/users/rndquu/gists{/gist_id}", starred_url: "https://api.github.com/users/rndquu/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/rndquu/subscriptions", organizations_url: "https://api.github.com/users/rndquu/orgs", repos_url: "https://api.github.com/users/rndquu/repos", events_url: "https://api.github.com/users/rndquu/events{/privacy}", - received_events_url: - "https://api.github.com/users/rndquu/received_events", + received_events_url: "https://api.github.com/users/rndquu/received_events", type: "User", site_admin: false, }, @@ -746,20 +678,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -805,20 +731,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/96/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/95", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/95", id: 1565720552, node_id: "I_kwDOH92Z-c5dUv_o", @@ -833,17 +755,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -859,18 +778,14 @@ export default [ url: "https://api.github.com/users/0xcodercrane", html_url: "https://github.com/0xcodercrane", followers_url: "https://api.github.com/users/0xcodercrane/followers", - following_url: - "https://api.github.com/users/0xcodercrane/following{/other_user}", + following_url: "https://api.github.com/users/0xcodercrane/following{/other_user}", gists_url: "https://api.github.com/users/0xcodercrane/gists{/gist_id}", - starred_url: - "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/0xcodercrane/subscriptions", + starred_url: "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/0xcodercrane/subscriptions", organizations_url: "https://api.github.com/users/0xcodercrane/orgs", repos_url: "https://api.github.com/users/0xcodercrane/repos", events_url: "https://api.github.com/users/0xcodercrane/events{/privacy}", - received_events_url: - "https://api.github.com/users/0xcodercrane/received_events", + received_events_url: "https://api.github.com/users/0xcodercrane/received_events", type: "User", site_admin: false, }, @@ -905,20 +820,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/95/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/91", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/91", id: 1559296266, node_id: "I_kwDOH92Z-c5c8PkK", @@ -933,17 +844,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -959,20 +867,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -997,26 +899,21 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/91/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/77", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/77", id: 1534637387, node_id: "I_kwDOH92Z-c5beLVL", number: 77, - title: - "Calculate time with precision (Dynamic Price Calculation vs Lookup Table)", + title: "Calculate time with precision (Dynamic Price Calculation vs Lookup Table)", user: { login: "pavlovcik", id: 4975670, @@ -1026,17 +923,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -1052,20 +946,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -1199,20 +1087,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/77/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/76", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/events", html_url: "https://github.com/ubiquity/bounty-bot/pull/76", id: 1529683674, node_id: "PR_kwDOH92Z-c5HMP0U", @@ -1227,17 +1111,14 @@ export default [ url: "https://api.github.com/users/ManyRios", html_url: "https://github.com/ManyRios", followers_url: "https://api.github.com/users/ManyRios/followers", - following_url: - "https://api.github.com/users/ManyRios/following{/other_user}", + following_url: "https://api.github.com/users/ManyRios/following{/other_user}", gists_url: "https://api.github.com/users/ManyRios/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ManyRios/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/ManyRios/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/ManyRios/subscriptions", organizations_url: "https://api.github.com/users/ManyRios/orgs", repos_url: "https://api.github.com/users/ManyRios/repos", events_url: "https://api.github.com/users/ManyRios/events{/privacy}", - received_events_url: - "https://api.github.com/users/ManyRios/received_events", + received_events_url: "https://api.github.com/users/ManyRios/received_events", type: "User", site_admin: false, }, @@ -1274,20 +1155,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/76/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/73", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/73", id: 1518609694, node_id: "I_kwDOH92Z-c5ahCUe", @@ -1302,17 +1179,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -1328,18 +1202,14 @@ export default [ url: "https://api.github.com/users/0xcodercrane", html_url: "https://github.com/0xcodercrane", followers_url: "https://api.github.com/users/0xcodercrane/followers", - following_url: - "https://api.github.com/users/0xcodercrane/following{/other_user}", + following_url: "https://api.github.com/users/0xcodercrane/following{/other_user}", gists_url: "https://api.github.com/users/0xcodercrane/gists{/gist_id}", - starred_url: - "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/0xcodercrane/subscriptions", + starred_url: "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/0xcodercrane/subscriptions", organizations_url: "https://api.github.com/users/0xcodercrane/orgs", repos_url: "https://api.github.com/users/0xcodercrane/repos", events_url: "https://api.github.com/users/0xcodercrane/events{/privacy}", - received_events_url: - "https://api.github.com/users/0xcodercrane/received_events", + received_events_url: "https://api.github.com/users/0xcodercrane/received_events", type: "User", site_admin: false, }, @@ -1410,20 +1280,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/73/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/56", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/56", id: 1505570426, node_id: "I_kwDOH92Z-c5ZvS56", @@ -1438,17 +1304,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -1464,20 +1327,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -1505,20 +1362,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/56/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/55", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/55", id: 1505569864, node_id: "I_kwDOH92Z-c5ZvSxI", @@ -1533,17 +1386,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -1559,20 +1409,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -1600,20 +1444,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/55/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/49", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/events", html_url: "https://github.com/ubiquity/bounty-bot/pull/49", id: 1473056929, node_id: "PR_kwDOH92Z-c5EJwB_", @@ -1628,19 +1468,14 @@ export default [ url: "https://api.github.com/users/3commascapital", html_url: "https://github.com/3commascapital", followers_url: "https://api.github.com/users/3commascapital/followers", - following_url: - "https://api.github.com/users/3commascapital/following{/other_user}", + following_url: "https://api.github.com/users/3commascapital/following{/other_user}", gists_url: "https://api.github.com/users/3commascapital/gists{/gist_id}", - starred_url: - "https://api.github.com/users/3commascapital/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/3commascapital/subscriptions", + starred_url: "https://api.github.com/users/3commascapital/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/3commascapital/subscriptions", organizations_url: "https://api.github.com/users/3commascapital/orgs", repos_url: "https://api.github.com/users/3commascapital/repos", - events_url: - "https://api.github.com/users/3commascapital/events{/privacy}", - received_events_url: - "https://api.github.com/users/3commascapital/received_events", + events_url: "https://api.github.com/users/3commascapital/events{/privacy}", + received_events_url: "https://api.github.com/users/3commascapital/received_events", type: "User", site_admin: false, }, @@ -1677,20 +1512,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/49/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/45", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/45", id: 1471714629, node_id: "I_kwDOH92Z-c5XuJVF", @@ -1705,18 +1536,14 @@ export default [ url: "https://api.github.com/users/0xcodercrane", html_url: "https://github.com/0xcodercrane", followers_url: "https://api.github.com/users/0xcodercrane/followers", - following_url: - "https://api.github.com/users/0xcodercrane/following{/other_user}", + following_url: "https://api.github.com/users/0xcodercrane/following{/other_user}", gists_url: "https://api.github.com/users/0xcodercrane/gists{/gist_id}", - starred_url: - "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/0xcodercrane/subscriptions", + starred_url: "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/0xcodercrane/subscriptions", organizations_url: "https://api.github.com/users/0xcodercrane/orgs", repos_url: "https://api.github.com/users/0xcodercrane/repos", events_url: "https://api.github.com/users/0xcodercrane/events{/privacy}", - received_events_url: - "https://api.github.com/users/0xcodercrane/received_events", + received_events_url: "https://api.github.com/users/0xcodercrane/received_events", type: "User", site_admin: false, }, @@ -1732,20 +1559,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -1780,26 +1601,21 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/45/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/42", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/42", id: 1471502303, node_id: "I_kwDOH92Z-c5XtVff", number: 42, - title: - "Registering wallet addresses and associating it to each GitHub username", + title: "Registering wallet addresses and associating it to each GitHub username", user: { login: "0xcodercrane", id: 108444211, @@ -1809,18 +1625,14 @@ export default [ url: "https://api.github.com/users/0xcodercrane", html_url: "https://github.com/0xcodercrane", followers_url: "https://api.github.com/users/0xcodercrane/followers", - following_url: - "https://api.github.com/users/0xcodercrane/following{/other_user}", + following_url: "https://api.github.com/users/0xcodercrane/following{/other_user}", gists_url: "https://api.github.com/users/0xcodercrane/gists{/gist_id}", - starred_url: - "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/0xcodercrane/subscriptions", + starred_url: "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/0xcodercrane/subscriptions", organizations_url: "https://api.github.com/users/0xcodercrane/orgs", repos_url: "https://api.github.com/users/0xcodercrane/repos", events_url: "https://api.github.com/users/0xcodercrane/events{/privacy}", - received_events_url: - "https://api.github.com/users/0xcodercrane/received_events", + received_events_url: "https://api.github.com/users/0xcodercrane/received_events", type: "User", site_admin: false, }, @@ -1836,20 +1648,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -1889,20 +1695,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/42/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/40", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/40", id: 1471410945, node_id: "I_kwDOH92Z-c5Xs_MB", @@ -1917,18 +1719,14 @@ export default [ url: "https://api.github.com/users/0xcodercrane", html_url: "https://github.com/0xcodercrane", followers_url: "https://api.github.com/users/0xcodercrane/followers", - following_url: - "https://api.github.com/users/0xcodercrane/following{/other_user}", + following_url: "https://api.github.com/users/0xcodercrane/following{/other_user}", gists_url: "https://api.github.com/users/0xcodercrane/gists{/gist_id}", - starred_url: - "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/0xcodercrane/subscriptions", + starred_url: "https://api.github.com/users/0xcodercrane/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/0xcodercrane/subscriptions", organizations_url: "https://api.github.com/users/0xcodercrane/orgs", repos_url: "https://api.github.com/users/0xcodercrane/repos", events_url: "https://api.github.com/users/0xcodercrane/events{/privacy}", - received_events_url: - "https://api.github.com/users/0xcodercrane/received_events", + received_events_url: "https://api.github.com/users/0xcodercrane/received_events", type: "User", site_admin: false, }, @@ -1944,17 +1742,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -1979,20 +1774,16 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/40/timeline", performed_via_github_app: null, state_reason: null, }, { url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/13", repository_url: "https://api.github.com/repos/ubiquity/bounty-bot", - labels_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/labels{/name}", - comments_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/comments", - events_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/events", + labels_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/labels{/name}", + comments_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/comments", + events_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/events", html_url: "https://github.com/ubiquity/bounty-bot/issues/13", id: 1442647265, node_id: "I_kwDOH92Z-c5V_Qzh", @@ -2007,17 +1798,14 @@ export default [ url: "https://api.github.com/users/pavlovcik", html_url: "https://github.com/pavlovcik", followers_url: "https://api.github.com/users/pavlovcik/followers", - following_url: - "https://api.github.com/users/pavlovcik/following{/other_user}", + following_url: "https://api.github.com/users/pavlovcik/following{/other_user}", gists_url: "https://api.github.com/users/pavlovcik/gists{/gist_id}", - starred_url: - "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", + starred_url: "https://api.github.com/users/pavlovcik/starred{/owner}{/repo}", subscriptions_url: "https://api.github.com/users/pavlovcik/subscriptions", organizations_url: "https://api.github.com/users/pavlovcik/orgs", repos_url: "https://api.github.com/users/pavlovcik/repos", events_url: "https://api.github.com/users/pavlovcik/events{/privacy}", - received_events_url: - "https://api.github.com/users/pavlovcik/received_events", + received_events_url: "https://api.github.com/users/pavlovcik/received_events", type: "User", site_admin: false, }, @@ -2033,20 +1821,14 @@ export default [ url: "https://api.github.com/users/ubiquity-bounties", html_url: "https://github.com/ubiquity-bounties", followers_url: "https://api.github.com/users/ubiquity-bounties/followers", - following_url: - "https://api.github.com/users/ubiquity-bounties/following{/other_user}", - gists_url: - "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", - starred_url: - "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", - subscriptions_url: - "https://api.github.com/users/ubiquity-bounties/subscriptions", + following_url: "https://api.github.com/users/ubiquity-bounties/following{/other_user}", + gists_url: "https://api.github.com/users/ubiquity-bounties/gists{/gist_id}", + starred_url: "https://api.github.com/users/ubiquity-bounties/starred{/owner}{/repo}", + subscriptions_url: "https://api.github.com/users/ubiquity-bounties/subscriptions", organizations_url: "https://api.github.com/users/ubiquity-bounties/orgs", repos_url: "https://api.github.com/users/ubiquity-bounties/repos", - events_url: - "https://api.github.com/users/ubiquity-bounties/events{/privacy}", - received_events_url: - "https://api.github.com/users/ubiquity-bounties/received_events", + events_url: "https://api.github.com/users/ubiquity-bounties/events{/privacy}", + received_events_url: "https://api.github.com/users/ubiquity-bounties/received_events", type: "User", site_admin: false, }, @@ -2110,8 +1892,7 @@ export default [ rocket: 0, eyes: 0, }, - timeline_url: - "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/timeline", + timeline_url: "https://api.github.com/repos/ubiquity/bounty-bot/issues/13/timeline", performed_via_github_app: null, state_reason: null, }, diff --git a/src/utils/filter-labels.ts b/src/utils/filter-labels.ts index 31816ad..717fce2 100644 --- a/src/utils/filter-labels.ts +++ b/src/utils/filter-labels.ts @@ -1,9 +1,6 @@ import { GitHubLabel } from "../github-types"; -export default async function filterLabels( - labels: GitHubLabel[], - regex: string -) { +export default async function filterLabels(labels: GitHubLabel[], regex: string) { const SEARCH_QUERY_REGEX = new RegExp(regex); // "^Price:.+USDC$" const results = [] as GitHubLabel[]; diff --git a/src/utils/get-labels.ts b/src/utils/get-labels.ts index 9175aa4..5e00cdb 100644 --- a/src/utils/get-labels.ts +++ b/src/utils/get-labels.ts @@ -3,14 +3,11 @@ import { GitHubLabel } from "../github-types"; import { octokit } from "./get-github-token"; export default async function getLabels(): Promise { - const labelsResponse = await octokit.paginate( - octokit.rest.issues.listLabelsForRepo, - { - owner: Args.owner, - repo: Args.repository, - per_page: 100, - } - ); + const labelsResponse = await octokit.paginate(octokit.rest.issues.listLabelsForRepo, { + owner: Args.owner, + repo: Args.repository, + per_page: 100, + }); return labelsResponse as GitHubLabel[]; } diff --git a/tsconfig.json b/tsconfig.json index c9ebacc..bdddadf 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": "ES2022", /* 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 TC39 stage 2 draft decorators. */ @@ -25,7 +25,7 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "commonjs" /* Specify what module code is generated. */, // "rootDir": "./", /* Specify the root folder within your source files. */ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ @@ -71,12 +71,12 @@ /* Interop Constraints */ // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ + "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, /* Type Checking */ - "strict": true, /* Enable all strict type-checking options. */ + "strict": true /* Enable all strict type-checking options. */, // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ @@ -98,6 +98,6 @@ /* Completeness */ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ + "skipLibCheck": true /* Skip type checking all .d.ts files. */ } }