Currently worflow_run doesn't happen in the context of the caller workflow, which means that the branch is always the default one, and the tagging will get wrong on release branches.
Instead of using github.ref_name and getting the dev branch for instance
one should use github.event.workflow_run to get the calling workflow branch
we should probably try to get rid of the anothrNick/github-tag-action@1.39.0 action all together to be honest
Currently worflow_run doesn't happen in the context of the caller workflow, which means that the branch is always the default one, and the tagging will get wrong on release branches.
Instead of using
github.ref_nameand getting thedevbranch for instanceone should use
github.event.workflow_runto get the calling workflow branchwe should probably try to get rid of the
anothrNick/github-tag-action@1.39.0action all together to be honest