Skip to content

Commit

Permalink
fix: GITHUB_REF to GITHUB_REF_NAME (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: Dariusz Karas <dkaras@splunk.com>
  • Loading branch information
kkania-splunk and dkaras-splunk authored Oct 28, 2022
1 parent d0d84b3 commit 7ca5da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -o xtrace

if [[ "${GITHUB_EVENT_NAME}" != "pull_request" ]]
then
BRANCH_NAME=${GITHUB_REF}
BRANCH_NAME=${GITHUB_REF_NAME}
else
BRANCH_NAME=${GITHUB_HEAD_REF}
fi
Expand Down

0 comments on commit 7ca5da0

Please sign in to comment.