From 4a4c367759b321dd973cece374969483bc23cb7d Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Fri, 9 Aug 2024 19:38:38 +0000 Subject: [PATCH] Format --- packages/mergebot/src/basic.ts | 5 +---- packages/mergebot/src/compute-pr-actions.ts | 6 ++++-- packages/mergebot/src/pr-info.ts | 9 ++++++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/packages/mergebot/src/basic.ts b/packages/mergebot/src/basic.ts index 293c424040..3007c0c39a 100644 --- a/packages/mergebot/src/basic.ts +++ b/packages/mergebot/src/basic.ts @@ -11,10 +11,7 @@ export type ColumnName = export type BlessedColumnName = (typeof blessedColumnNames)[number]; -const blessedColumnNames = [ - "Waiting for Code Reviews (Blessed)", - "Waiting for Author to Merge (Blessed)", -] as const; +const blessedColumnNames = ["Waiting for Code Reviews (Blessed)", "Waiting for Author to Merge (Blessed)"] as const; export function isBlessedColumnName(column: string): column is BlessedColumnName { return blessedColumnNames.includes(column as BlessedColumnName); diff --git a/packages/mergebot/src/compute-pr-actions.ts b/packages/mergebot/src/compute-pr-actions.ts index a9ebdfc60d..72c88135b2 100644 --- a/packages/mergebot/src/compute-pr-actions.ts +++ b/packages/mergebot/src/compute-pr-actions.ts @@ -244,7 +244,7 @@ function extendPrInfo(info: PrInfo): ExtendedPrInfo { } } return false; - }) + }); } function getReviewColumn(): ColumnName { @@ -384,7 +384,9 @@ export function process(prInfo: BotResult, extendedCallback: (info: ExtendedPrIn actions.shouldMerge = true; actions.projectColumn = "Recently Merged"; } else { - actions.projectColumn = prInfo.maintainerBlessed ? "Waiting for Author to Merge (Blessed)" : "Waiting for Author to Merge"; + actions.projectColumn = prInfo.maintainerBlessed + ? "Waiting for Author to Merge (Blessed)" + : "Waiting for Author to Merge"; } } // Ping stale reviewers if any diff --git a/packages/mergebot/src/pr-info.ts b/packages/mergebot/src/pr-info.ts index 1eed6846fc..32ffcfb867 100644 --- a/packages/mergebot/src/pr-info.ts +++ b/packages/mergebot/src/pr-info.ts @@ -1,4 +1,11 @@ -import { BlessedColumnName, ColumnName, columnNameToBlessed, isBlessedColumnName, PopularityLevel, projectBoardNumber } from "./basic"; +import { + BlessedColumnName, + ColumnName, + columnNameToBlessed, + isBlessedColumnName, + PopularityLevel, + projectBoardNumber, +} from "./basic"; import { PR_repository_pullRequest, PR_repository_pullRequest_commits_nodes_commit_checkSuites,