mirror of
https://code.forgejo.org/actions/setup-python.git
synced 2026-03-17 04:25:56 +03:00
Merge ae66cc3fdf into 28f2168f4d
This commit is contained in:
commit
bf8b99a7c6
1 changed files with 5 additions and 1 deletions
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
|
|
@ -40959,7 +40959,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue