mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-12 17:10:05 +00:00
fix: pull gpg key from keybase
This commit is contained in:
parent
54bcd8715e
commit
a873fd5547
4 changed files with 9 additions and 57 deletions
5
dist/index.js
vendored
5
dist/index.js
vendored
|
|
@ -32685,12 +32685,13 @@ const verify = (filename, platform, version, verbose, failCi) => validate_awaite
|
|||
}));
|
||||
};
|
||||
// Import gpg key
|
||||
gpg.call('', [
|
||||
const pgpKeyRes = yield (0,undici.request)('https://keybase.io/codecovsecurity/pgp_keys.asc');
|
||||
const pgpKey = yield pgpKeyRes.body.text();
|
||||
gpg.call(pgpKey, [
|
||||
'--logger-fd',
|
||||
'1',
|
||||
'--no-default-keyring',
|
||||
'--import',
|
||||
__nccwpck_require__.ab + "pgp_keys.asc",
|
||||
], (err, importResult) => validate_awaiter(void 0, void 0, void 0, function* () {
|
||||
if (err) {
|
||||
setFailure('Codecov: Error importing pgp key', failCi);
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue