Skip to content

Commit

Permalink
Use correct branch when not a pull request (temporalio#1578)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Aug 5, 2024
1 parent c5b519e commit 9b9201f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ jobs:
secrets: inherit
with:
lang: go
sdk-repo-url: ${{github.event.pull_request.head.repo.full_name}}
sdk-repo-ref: ${{github.event.pull_request.head.ref}}
sdk-repo-url: ${{ github.event.pull_request.head.repo.full_name || 'temporalio/sdk-go' }}
sdk-repo-ref: ${{ github.event.pull_request.head.ref || github.ref }}
# TODO: Remove once we have a good way of cleaning up sha-based pushed images
docker-tag-ext: ci-latest
do-push: true

0 comments on commit 9b9201f

Please sign in to comment.