Skip to content

Commit 959df33

Browse files
authored
fix: request more check_run results (#1101)
1 parent 45c3a50 commit 959df33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/cli/release/automerge.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed under the BSD 3-Clause license.
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
7-
/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call, camelcase*/
7+
/* eslint-disable camelcase*/
88
import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
99
import { Octokit } from '@octokit/core';
1010
import { components } from '@octokit/openapi-types';
@@ -144,6 +144,7 @@ export default class AutoMerge extends SfCommand<void> {
144144
const checkRunResponse = await this.octokit.request('GET /repos/{owner}/{repo}/commits/{ref}/check-runs', {
145145
...this.baseRepoParams,
146146
ref: pr.head.sha,
147+
per_page: 50,
147148
});
148149

149150
if (verbose) this.styledJSON(checkRunResponse);

0 commit comments

Comments
 (0)