From f59473ae803fd883818ee3f7699c719bf758121d Mon Sep 17 00:00:00 2001 From: Arjun Gowda <72487795+arjungowda-kr@users.noreply.github.com> Date: Fri, 27 May 2022 19:27:18 +0530 Subject: [PATCH] replace namespace with ref parameter --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0579283..765d042 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ async function getMostRecentRepoTag() { const { data: refs } = await octokit.git.listMatchingRefs({ ...github.context.repo, - namespace: 'tags/' + ref: 'tags/' }) const prx = new RegExp(`^${prefix}`,'g');