Skip to content

Commit

Permalink
Fix branch name detection (#21)
Browse files Browse the repository at this point in the history
For old git version.
  • Loading branch information
at-wat authored Aug 2, 2020
1 parent 021d7cf commit f7ad591
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 @@ -7,7 +7,7 @@ cd "${GITHUB_WORKSPACE}" \

set -eu

BRANCH_NAME=$(git branch --show-current)
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)

if [ ! -z "${INPUT_ISSUE_TITLE:-}" ]
then
Expand Down

0 comments on commit f7ad591

Please sign in to comment.