Hello. I am trying to implement a auto `package.json` versioning feature for my team. So the way it would work is if there is an open pull request with the source branch with the name `bugfix/**` it will update the project version patch number. But i only want to do that when a pull request is merged so i know what the source branch is.
If I use the branches pipeline i dont know information about what branch was just merged so i can use that branch as a variable to my auto `package.json` versioning script.
Is there a way to achieve this feature?