mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-15 07:27:24 +00:00
fix: run the func
This commit is contained in:
parent
7f15ca6a06
commit
c690ee9cc4
3 changed files with 3 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -32572,7 +32572,7 @@ const getToken = () => buildExec_awaiter(void 0, void 0, void 0, function* () {
|
||||||
const baseLabel = context.payload.pull_request.base.label;
|
const baseLabel = context.payload.pull_request.base.label;
|
||||||
const headLabel = context.payload.pull_request.head.label;
|
const headLabel = context.payload.pull_request.head.label;
|
||||||
core.info(`base: ${baseLabel} | head: ${headLabel}`);
|
core.info(`base: ${baseLabel} | head: ${headLabel}`);
|
||||||
if (isFork) {
|
if (isFork()) {
|
||||||
core.info('==> Fork detected, tokenless uploading used');
|
core.info('==> Fork detected, tokenless uploading used');
|
||||||
return Promise.resolve('');
|
return Promise.resolve('');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -42,7 +42,7 @@ const getToken = async (): Promise<string> => {
|
||||||
const headLabel = context.payload.pull_request.head.label;
|
const headLabel = context.payload.pull_request.head.label;
|
||||||
|
|
||||||
core.info(`base: ${baseLabel} | head: ${headLabel}`);
|
core.info(`base: ${baseLabel} | head: ${headLabel}`);
|
||||||
if (isFork) {
|
if (isFork()) {
|
||||||
core.info('==> Fork detected, tokenless uploading used');
|
core.info('==> Fork detected, tokenless uploading used');
|
||||||
return Promise.resolve('');
|
return Promise.resolve('');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue