mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
fix: just shove it in
This commit is contained in:
parent
7458bec9fc
commit
66a562f347
1 changed files with 1 additions and 2 deletions
|
|
@ -182,8 +182,7 @@ runs:
|
|||
CC_BRANCH="${{ inputs.override_branch }}"
|
||||
PR_HEAD_LABEL="${{ github.event.pull_request.head.label }}"
|
||||
|
||||
is_Fork=$("${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}")
|
||||
if [ -z "$CC_BRANCH" ] && [ -z "$CODECOV_TOKEN" ] && [ "$is_fork" == "true" ];
|
||||
if [ -z "$CC_BRANCH" ] && [ -z "$CODECOV_TOKEN" ] && [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }} ];
|
||||
then
|
||||
echo -e "\033[0;32m==>\033[0m Fork detected, tokenless uploading used"
|
||||
TOKENLESS="$PR_HEAD_LABEL"
|
||||
|
|
|
|||
Loading…
Reference in a new issue