So I have a repository, and I want to tag an old version of it (i.e. not the most recent commit).
I have a workflow that is activated when a tag is pushed:
on: push: tags: - 'v*'
I tried creating a new tag in GitHub for a recent version that not the most recent version, and it did not trigger this action. I also tried using
git tag v1.0.0 <not-the-most-recent-commit> and pushed it, and it also didn’t get triggered.
Why is that and how can I trigger the action no matter if the tagged commit is the most recent or not?