From 1a182d0679089acb407529b8177b247db5292308 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 17 Jul 2020 21:06:16 +0900 Subject: [PATCH] Fix function name --- dist/index.js | 2 +- src/create-pull-request.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8fb15ba..c503cd7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -10590,7 +10590,7 @@ function createPullRequest(inputs) { core.info(`Pull request branch target repository set to ${remote.repository}`); if (remote.protocol == 'HTTPS') { core.startGroup('Configuring credential for HTTPS authentication'); - yield gitAuthHelper.configureAuth(inputs.token); + yield gitAuthHelper.configureToken(inputs.token); core.endGroup(); } // Determine if the checked out ref is a valid base for a pull request diff --git a/src/create-pull-request.ts b/src/create-pull-request.ts index f5b371c..588c4d1 100644 --- a/src/create-pull-request.ts +++ b/src/create-pull-request.ts @@ -66,7 +66,7 @@ export async function createPullRequest(inputs: Inputs): Promise { if (remote.protocol == 'HTTPS') { core.startGroup('Configuring credential for HTTPS authentication') - await gitAuthHelper.configureAuth(inputs.token) + await gitAuthHelper.configureToken(inputs.token) core.endGroup() }