Support both tags and branches in github CI