Fixes #7945 - makes sure we are only getting tag refs (#7990)
Fixes #7945 - makes sure we are only getting tag refs (#7990)


sapk-fork/gitea,kubatyszko/gitea,sapk-fork/gitea,lafriks/gitea,vCaesar/gitea,sapk-fork/gitea,kubatyszko/gitea,lafriks/gitea,vdbt/gitea,typeless/gitea,cez81/gitea,typeless/gitea,go-gitea/gitea,vdbt/gitea,typeless/gitea,go-gitea/gitea,kubatyszko/gitea,vCaesar/gitea,sapk-fork/gitea,lafriks/gitea,typeless/gitea,go-gitea/gitea,cez81/gitea,cez81/gitea