mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-03-14 22:26:58 +01:00
Merge ae66cc3fdf
into 19e4675e06
This commit is contained in:
commit
a44f58dce6
1 changed files with 5 additions and 1 deletions
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
|
@ -12062,7 +12062,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
Reference in a new issue