The asterisk problem in GitHub actions
Recently I spent around 2 hours to get the head branch name inside a GitHub action. Context: I was trying to configure unit test for my repo, the idea was to get the PR branch name and run a script run_test.sh on a remote server that takes branch name as input. The script checkouts the…