Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/get_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
if [ "${{ inputs.commitSha }}" != "" ]; then
COMMIT_SHA=${{ inputs.commitSha }}
BRANCH_NAME=${GITHUB_REF_NAME}
elif [ "${{ github.event_name }}" = "pull_request" ]; then
# pull_request_target exposes the same head ref/sha as pull_request; without this it falls through to the base branch.
elif [ "${{ github.event_name }}" = "pull_request" ] || [ "${{ github.event_name }}" = "pull_request_target" ]; then
COMMIT_SHA=${{ github.event.pull_request.head.sha }}
BRANCH_NAME=${GITHUB_HEAD_REF}
else
Expand Down
Loading