mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-08 07:20:04 +00:00
Overwrite pull_request_target pr number
This commit is contained in:
parent
fcebab03f2
commit
d9a1bbc2da
5 changed files with 12 additions and 2 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
|
@ -59636,6 +59636,9 @@ var buildExec = function () {
|
|||
if (overridePr) {
|
||||
execArgs.push('-P', "" + overridePr);
|
||||
}
|
||||
else if ("" + context.eventName == 'pull_request_target') {
|
||||
execArgs.push('-P', "" + context.payload.number);
|
||||
}
|
||||
if (overrideTag) {
|
||||
execArgs.push('-T', "" + overrideTag);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue