diff --git a/dist/index.js b/dist/index.js index 2021d56bc8..99379c6bfe 100644 --- a/dist/index.js +++ b/dist/index.js @@ -314,6 +314,7 @@ function createPullRequest(inputs) { : baseRemote.repository; if (inputs.pushToFork) { // Check if the supplied fork is really a fork of the base + core.info(`Checking if '${branchRepository}' is a fork of '${baseRemote.repository}'`); const parentRepository = yield githubHelper.getRepositoryParent(branchRepository); if (parentRepository != baseRemote.repository) { throw new Error(`Repository '${branchRepository}' is not a fork of '${baseRemote.repository}'. Unable to continue.`); diff --git a/src/create-pull-request.ts b/src/create-pull-request.ts index 81caa8877f..4f59904d9e 100644 --- a/src/create-pull-request.ts +++ b/src/create-pull-request.ts @@ -60,6 +60,9 @@ export async function createPullRequest(inputs: Inputs): Promise { : baseRemote.repository if (inputs.pushToFork) { // Check if the supplied fork is really a fork of the base + core.info( + `Checking if '${branchRepository}' is a fork of '${baseRemote.repository}'` + ) const parentRepository = await githubHelper.getRepositoryParent( branchRepository )