From 15a7a5a8f1a7acd062bdd0baae7da81a9c097214 Mon Sep 17 00:00:00 2001 From: Technote Date: Fri, 20 Nov 2020 01:28:07 +0900 Subject: [PATCH 1/2] chore: tweaks --- 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 118ccc6..80b6c14 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(actionContext), octokit, actionContext); + const isTarget = isActionPr(actionContext) || isNotCreatePR(actionContext) || await isTargetBranch(getPrHeadRef(actionContext), octokit, actionContext); let target = ''; if (isTarget) { target = await getPrBranchName(helper, octokit, actionContext, true); From 49b7d18edf2a393db1d6d7b891c0bf0fe6c2f006 Mon Sep 17 00:00:00 2001 From: Technote Date: Fri, 20 Nov 2020 01:29:44 +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 91d8dbc..7c4ecf5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@technote-space/github-action-pr-helper", - "version": "1.11.2", + "version": "1.11.3", "description": "PullRequest Helper for GitHub Actions.", "keywords": [ "github",