diff --git a/dist/setup/index.js b/dist/setup/index.js index f1e3e297..eedf14a8 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -10063,7 +10063,11 @@ function getManifestFromRepo(owner, repo, auth, branch = 'master') { core.debug('Invalid json'); } } - return releases; + if (!releases.hasOwnProperty('documentation_url')){ + return releases; + }else{ + throw new Error ('github API rate limiting response in JSON format') + } }); } exports.getManifestFromRepo = getManifestFromRepo;