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:
187
187
- name : Override branch for forks
188
188
shell : bash
189
189
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" ];
191
191
then
192
192
echo -e "\033[0;32m==>\033[0m Fork detected, tokenless uploading used"
193
193
TOKENLESS="$GITHUB_EVENT_PULL_REQUEST_HEAD_LABEL"
@@ -199,7 +199,7 @@ runs:
199
199
env :
200
200
CC_BRANCH : ${{ inputs.override_branch }}
201
201
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 }}
203
203
GITHUB_REPOSITORY : ${{ github.repository }}
204
204
205
205
- name : Override commits and pr for pull requests
You can’t perform that action at this time.
0 commit comments