mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-11 05:27:24 +00:00
payload
This commit is contained in:
parent
50212c96c8
commit
87fff2e891
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -59628,7 +59628,7 @@ var buildExec = function () {
|
||||||
}
|
}
|
||||||
else if ("" + context.eventName == 'pull_request' ||
|
else if ("" + context.eventName == 'pull_request' ||
|
||||||
"" + context.eventName == 'pull_request_target') {
|
"" + context.eventName == 'pull_request_target') {
|
||||||
execArgs.push('-C', "" + context.pull_request.head.sha);
|
execArgs.push('-C', "" + context.payload.pull_request.head.sha);
|
||||||
}
|
}
|
||||||
if (overridePr) {
|
if (overridePr) {
|
||||||
execArgs.push('-P', "" + overridePr);
|
execArgs.push('-P', "" + overridePr);
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ const buildExec = () => {
|
||||||
`${context.eventName}` == 'pull_request' ||
|
`${context.eventName}` == 'pull_request' ||
|
||||||
`${context.eventName}` == 'pull_request_target'
|
`${context.eventName}` == 'pull_request_target'
|
||||||
) {
|
) {
|
||||||
execArgs.push('-C', `${context.pull_request.head.sha}`);
|
execArgs.push('-C', `${context.payload.pull_request.head.sha}`);
|
||||||
}
|
}
|
||||||
if (overridePr) {
|
if (overridePr) {
|
||||||
execArgs.push('-P', `${overridePr}`);
|
execArgs.push('-P', `${overridePr}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue