mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-06 06:29:24 +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
|
|
@ -143,6 +143,10 @@ const buildExec = () => {
|
|||
}
|
||||
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