We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7fb81 commit b919e44Copy full SHA for b919e44
src/api-helper.ts
@@ -320,7 +320,6 @@ export default class ApiHelper {
320
public pullsUpdate = async(number: number, detail: PullsUpdateParams): Promise<PullsUpdateResponseData> => this.getResponseData((this.octokit as RestEndpointMethods).pulls.update({
321
...this.context.repo,
322
'pull_number': number,
323
- base: (await this.getRefForUpdate(false)).replace(/^heads\//, ''),
324
state: 'open',
325
...detail,
326
}));
@@ -508,7 +507,6 @@ export default class ApiHelper {
508
507
509
await this.pullsUpdate(pullRequest.number, {
510
state: 'closed',
511
- base: undefined,
512
});
513
} else {
514
this.callLogger(logger => logger.info('There is no PullRequest named [%s]', branchName));
0 commit comments