From f521bdd18f936d6eda83022684126114f1360a45 Mon Sep 17 00:00:00 2001 From: Technote Date: Thu, 19 Nov 2020 22:21:28 +0900 Subject: [PATCH 1/2] fix: action context --- src/utils/process.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/process.ts b/src/utils/process.ts index 37eff64..118ccc6 100644 --- a/src/utils/process.ts +++ b/src/utils/process.ts @@ -314,7 +314,7 @@ const runCreatePr = async(isClose: boolean, getPulls: (Octokit, ActionContext) = } const helper = getHelper(actionContext); - const isTarget = await isTargetBranch(getPrHeadRef(context), octokit, context); + const isTarget = await isTargetBranch(getPrHeadRef(actionContext), octokit, actionContext); let target = ''; if (isTarget) { target = await getPrBranchName(helper, octokit, actionContext, true); From e987e4ea6eb4f35451451da806e2a5df307fab63 Mon Sep 17 00:00:00 2001 From: Technote Date: Thu, 19 Nov 2020 22:23:19 +0900 Subject: [PATCH 2/2] feat: update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b4138d..91d8dbc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@technote-space/github-action-pr-helper", - "version": "1.11.1", + "version": "1.11.2", "description": "PullRequest Helper for GitHub Actions.", "keywords": [ "github",