Skip to content

Commit

Permalink
ci: fix github repo for args test (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
sozercan authored Jul 18, 2024
1 parent 6b6805c commit a3ddc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-docker-args.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
--cache-to=type=gha,scope=testmodel,mode=max \
"https://raw.githubusercontent.com/${REPO}/${SOURCE_BRANCH}/test/aikitfile-args.yaml"
env:
REPO: ${{ github.event.pull_request.head.repo.full_name }}
REPO: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
# github head ref is only set for pull_request targets
# otherwise, get the github ref name to get the source branch
SOURCE_BRANCH: ${{ github.head_ref || github.ref_name }}
Expand Down

0 comments on commit a3ddc3b

Please sign in to comment.