mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-07 19:47:25 +00:00
fix: overwrite pr number on fork (#1871)
This commit is contained in:
parent
c4741c8197
commit
3e0ce21cac
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ runs:
|
|||
then
|
||||
CC_SHA="$GITHUB_EVENT_PULL_REQUEST_HEAD_SHA"
|
||||
fi
|
||||
if [ -z "$CC_PR" ] && [ "${GITHUB_EVENT_NAME}" == "pull_request_target" ];
|
||||
if [ -z "$CC_PR" ] && [ "$CC_FORK" == 'true' ];
|
||||
then
|
||||
CC_PR="$GITHUB_EVENT_NUMBER"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue