diff --git a/dist/index.js b/dist/index.js index 2021d56bc..99379c6bf 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 81caa8877..4f59904d9 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 )