mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
Overwrite pull_request_target pr number
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user