From 1a36347c5d2b8e5febe9f94a9cb3f8b30e9ae8d5 Mon Sep 17 00:00:00 2001 From: Mani Ka Date: Mon, 23 Sep 2024 17:11:22 -0700 Subject: [PATCH] Update refs for Pull Request --- dist/index.js | 4 ++-- src/gh-ops.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9d91e95..b870aae 100644 --- a/dist/index.js +++ b/dist/index.js @@ -48256,9 +48256,9 @@ async function raisePullRequest(version, base) { owner: github.context.repo.owner, repo: github.context.repo.repo, title: `Release: ${process.env.VERSION_PREFIX || ''}${version}`, - head: base, + head: `${current}`, body: `Rebase Changelog and version bump`, - base: `${current}` + base }); return base; } diff --git a/src/gh-ops.ts b/src/gh-ops.ts index 7a89742..e3b21e6 100644 --- a/src/gh-ops.ts +++ b/src/gh-ops.ts @@ -67,9 +67,9 @@ export async function raisePullRequest(version: string, base?: string): Promise< owner: github.context.repo.owner, repo: github.context.repo.repo, title: `Release: ${process.env.VERSION_PREFIX || ''}${version}`, - head: base, + head: `${current}`, body: `Rebase Changelog and version bump`, - base: `${current}` + base }) return base }