Skip to content

Commit

Permalink
fix: change GITHUB_REF to GITHUB_REF_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 20, 2023
1 parent 36b9707 commit d920233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
# https://github.com/int128/ghcp
branch=${GITHUB_HEAD_REF:-}
if [ -z "$branch" ]; then
branch=$GITHUB_REF
branch=$GITHUB_REF_NAME
fi
ghcp commit -r "$GITHUB_REPOSITORY" -b "$branch" \
-m "chore(aqua): update $CHECKSUM_FILE" \
Expand Down

0 comments on commit d920233

Please sign in to comment.