diff --git a/dist/setup/index.js b/dist/setup/index.js index e56f9660..cba8b294 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;