Describe your idea
i'm triggering my maven-pipeline via GitHub-workflow.
when a simple commit triggers the wf, the property git.branch tells me the branch correctly (master, my_experiment, ...)
when a tag triggers the wf, we have a detached head situation and your plugin (as documented) falls back to the commit-id for the property git.banch.
Expected Behavior
property git.branch (or an additional property) should always show the branch name for the checked-out commit.