Skip to content

Commit 4401504

Browse files
Merge pull request #232 from technote-space/release/next-v1.11.2
release: v1.11.3
2 parents 0a4bcff + 49b7d18 commit 4401504

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@technote-space/github-action-pr-helper",
3-
"version": "1.11.2",
3+
"version": "1.11.3",
44
"description": "PullRequest Helper for GitHub Actions.",
55
"keywords": [
66
"github",

src/utils/process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ const runCreatePr = async(isClose: boolean, getPulls: (Octokit, ActionContext) =
314314
}
315315

316316
const helper = getHelper(actionContext);
317-
const isTarget = await isTargetBranch(getPrHeadRef(actionContext), octokit, actionContext);
317+
const isTarget = isActionPr(actionContext) || isNotCreatePR(actionContext) || await isTargetBranch(getPrHeadRef(actionContext), octokit, actionContext);
318318
let target = '';
319319
if (isTarget) {
320320
target = await getPrBranchName(helper, octokit, actionContext, true);

0 commit comments

Comments
 (0)