mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-17 00:11:44 +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
|
then
|
||||||
CC_SHA="$GITHUB_EVENT_PULL_REQUEST_HEAD_SHA"
|
CC_SHA="$GITHUB_EVENT_PULL_REQUEST_HEAD_SHA"
|
||||||
fi
|
fi
|
||||||
if [ -z "$CC_PR" ] && [ "${GITHUB_EVENT_NAME}" == "pull_request_target" ];
|
if [ -z "$CC_PR" ] && [ "$CC_FORK" == 'true' ];
|
||||||
then
|
then
|
||||||
CC_PR="$GITHUB_EVENT_NUMBER"
|
CC_PR="$GITHUB_EVENT_NUMBER"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue