mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-10 21:17:24 +00:00
fix: add log statement
This commit is contained in:
parent
a250399fa3
commit
52bd105ad4
3 changed files with 4 additions and 2 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
|
@ -32340,7 +32340,8 @@ const getGitService = () => {
|
||||||
return 'github';
|
return 'github';
|
||||||
};
|
};
|
||||||
const isPullRequestFromFork = () => {
|
const isPullRequestFromFork = () => {
|
||||||
if (`${context.eventName}` !== 'pull_request' ||
|
core.info(`evenName: ${context.eventName}`);
|
||||||
|
if (`${context.eventName}` !== 'pull_request' &&
|
||||||
`${context.eventName}` !== 'pull_request_target') {
|
`${context.eventName}` !== 'pull_request_target') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -30,6 +30,7 @@ const getGitService = (): string => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const isPullRequestFromFork = (): boolean => {
|
const isPullRequestFromFork = (): boolean => {
|
||||||
|
core.info(`evenName: ${context.eventName}`);
|
||||||
if (
|
if (
|
||||||
`${context.eventName}` !== 'pull_request' &&
|
`${context.eventName}` !== 'pull_request' &&
|
||||||
`${context.eventName}` !== 'pull_request_target'
|
`${context.eventName}` !== 'pull_request_target'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue