Skip to content

Commit 9b9201f

Browse files
authoredAug 5, 2024··
Use correct branch when not a pull request (#1578)
1 parent c5b519e commit 9b9201f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ jobs:
135135
secrets: inherit
136136
with:
137137
lang: go
138-
sdk-repo-url: ${{github.event.pull_request.head.repo.full_name}}
139-
sdk-repo-ref: ${{github.event.pull_request.head.ref}}
138+
sdk-repo-url: ${{ github.event.pull_request.head.repo.full_name || 'temporalio/sdk-go' }}
139+
sdk-repo-ref: ${{ github.event.pull_request.head.ref || github.ref }}
140140
# TODO: Remove once we have a good way of cleaning up sha-based pushed images
141141
docker-tag-ext: ci-latest
142142
do-push: true

0 commit comments

Comments
 (0)
Please sign in to comment.