Skip to content

Commit

Permalink
fix(build): fix how base branch is resolved for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Oct 29, 2024
1 parent 043f73f commit 14ab148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-images-from-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if [ "${{ github.event_name }}" == 'push' ]; then
BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
elif [ "${{ github.event_name }}" == 'pull_request' ]; then
BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
BRANCH=${{ github.event.pull_request.head.ref }}
else
BRANCH=${{ inputs.branch_name }}
fi
Expand Down

0 comments on commit 14ab148

Please sign in to comment.