From 403258bcefb8a286f9a2c8d54f5d018e423a2297 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 30 May 2024 10:46:30 -0600 Subject: [PATCH] fix: request more check_run results --- src/commands/cli/release/automerge.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/cli/release/automerge.ts b/src/commands/cli/release/automerge.ts index 2aa1c71e..31409252 100644 --- a/src/commands/cli/release/automerge.ts +++ b/src/commands/cli/release/automerge.ts @@ -4,7 +4,7 @@ * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, camelcase*/ +/* eslint-disable camelcase*/ import { Flags, SfCommand } from '@salesforce/sf-plugins-core'; import { Octokit } from '@octokit/core'; import { components } from '@octokit/openapi-types'; @@ -144,6 +144,7 @@ export default class AutoMerge extends SfCommand { const checkRunResponse = await this.octokit.request('GET /repos/{owner}/{repo}/commits/{ref}/check-runs', { ...this.baseRepoParams, ref: pr.head.sha, + per_page: 50, }); if (verbose) this.styledJSON(checkRunResponse);