File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ runs:
187187 - name : Override branch for forks
188188 shell : bash
189189 run : |
190- if [ -z "$CC_BRANCH" ] && [ -z "$CC_TOKEN" ] && [ -n "$GITHUB_EVENT_PULL_REQUEST_REPO_FULL_NAME " ] && [ "${GITHUB_EVENT_PULL_REQUEST_REPO_FULL_NAME }" != "$GITHUB_REPOSITORY" ];
190+ if [ -z "$CC_BRANCH" ] && [ -z "$CC_TOKEN" ] && [ -n "$GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FULL_NAME " ] && [ "${GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FULL_NAME }" != "$GITHUB_REPOSITORY" ];
191191 then
192192 echo -e "\033[0;32m==>\033[0m Fork detected, tokenless uploading used"
193193 TOKENLESS="$GITHUB_EVENT_PULL_REQUEST_HEAD_LABEL"
@@ -199,7 +199,7 @@ runs:
199199 env :
200200 CC_BRANCH : ${{ inputs.override_branch }}
201201 GITHUB_EVENT_PULL_REQUEST_HEAD_LABEL : ${{ github.event.pull_request.head.label }}
202- GITHUB_EVENT_PULL_REQUEST_REPO_FULL_NAME : ${{ github.event.pull_request.repo.full_name }}
202+ GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FULL_NAME : ${{ github.event.pull_request.head .repo.full_name }}
203203 GITHUB_REPOSITORY : ${{ github.repository }}
204204
205205 - name : Override commits and pr for pull requests
You can’t perform that action at this time.
0 commit comments