From b899d99acf6a3af1b7389333396d7b721d05a36e Mon Sep 17 00:00:00 2001 From: Shivam Gupta Date: Wed, 17 Mar 2021 12:38:15 +0530 Subject: [PATCH] Fixing query --- lib/run.js | 1 + src/run.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/run.js b/lib/run.js index c2ed762..890b64d 100644 --- a/lib/run.js +++ b/lib/run.js @@ -134,6 +134,7 @@ function getLatestHelmVersionFor(type) { console.log(type); const token = core.getInput('token', { 'required': true }); const versions = yield graphql_1.graphql(` + { repository(name:"helm", owner:"helm") { releases(last: 100) { nodes { diff --git a/src/run.ts b/src/run.ts index f773701..5b10b22 100644 --- a/src/run.ts +++ b/src/run.ts @@ -112,6 +112,7 @@ async function getLatestHelmVersionFor(type) { const token = core.getInput('token', { 'required': true }); const versions = await graphql( ` + { repository(name:"helm", owner:"helm") { releases(last: 100) { nodes {