From fc64c94a8d52cc1da776770e72a1a053d5e83fd5 Mon Sep 17 00:00:00 2001 From: Galen Warren <784517+galenwarren@users.noreply.github.com> Date: Sat, 11 Nov 2023 23:00:24 -0500 Subject: [PATCH] fix: add prefix to call to compareCommitsWithBasehead (#35) * fix: add prefix to call to compareCommitsWithBasehead to resolve issue #31 * fix: revert unintended formatting changes --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 87c4680..5675fb1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31171,7 +31171,7 @@ async function main () { const commitsRaw = await gh.rest.repos.compareCommitsWithBasehead({ owner, repo, - basehead: `${latestTag.name}...${branch}`, + basehead: `${prefix}${latestTag.name}...${branch}`, page: curPage, per_page: 100 }) diff --git a/index.js b/index.js index b2b98ad..750788e 100644 --- a/index.js +++ b/index.js @@ -132,7 +132,7 @@ async function main () { const commitsRaw = await gh.rest.repos.compareCommitsWithBasehead({ owner, repo, - basehead: `${latestTag.name}...${branch}`, + basehead: `${prefix}${latestTag.name}...${branch}`, page: curPage, per_page: 100 })