File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,7 @@ function createPullRequest(inputs) {
314
314
: baseRemote.repository;
315
315
if (inputs.pushToFork) {
316
316
// Check if the supplied fork is really a fork of the base
317
+ core.info(`Checking if '${branchRepository}' is a fork of '${baseRemote.repository}'`);
317
318
const parentRepository = yield githubHelper.getRepositoryParent(branchRepository);
318
319
if (parentRepository != baseRemote.repository) {
319
320
throw new Error(`Repository '${branchRepository}' is not a fork of '${baseRemote.repository}'. Unable to continue.`);
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
60
60
: baseRemote . repository
61
61
if ( inputs . pushToFork ) {
62
62
// Check if the supplied fork is really a fork of the base
63
+ core . info (
64
+ `Checking if '${ branchRepository } ' is a fork of '${ baseRemote . repository } '`
65
+ )
63
66
const parentRepository = await githubHelper . getRepositoryParent (
64
67
branchRepository
65
68
)
You can’t perform that action at this time.
0 commit comments