Context: I am working on a project in which people use tags on commits yet in branches waiting on the Pull Requests queue of GitHub. This means they are non-merged to the main branch yet.
The problem from my standpoint of view is that Pull Requests are unstable.
Still as a PR, after some changes, interactive rebase, and force-pushes, a tag can be associated with the "wrong commit". This gets messy after the PR is merged on the main/master branch.
Hence, my suggestion for the team would be to wait for tags to be associated with "stable" code, on the main
or master
branch.
Is there any technical reason or advantage to allow tags on commits yet on Pull Requests review?
Am I missing something with my suggestion?