mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 12:17:01 +08:00
feat: add support for tokenless v3 (#1410)
This commit is contained in:
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -32353,6 +32353,7 @@ const isPullRequestFromFork = () => {
|
||||
const getToken = () => buildExec_awaiter(void 0, void 0, void 0, function* () {
|
||||
if (isPullRequestFromFork()) {
|
||||
core.info('==> Fork detected, tokenless uploading used');
|
||||
process.env['TOKENLESS'] = context.payload.pull_request.head.label;
|
||||
return Promise.resolve('');
|
||||
}
|
||||
let token = core.getInput('token');
|
||||
|
||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user