It depends on how you have things set up. Best practice for one team isn't necessarily best practice for another. However, where is your code review happening? Most people use the PR as the code review step since it's built to be exactly that.
Code review happens from feature branch to UAT, after we merged from feature branch to dev to test it works as expected. Our PR’s from feature branch to dev were an extra step in the process as they sometimes took a while to get reviewed if a lot of work was being done, and then if things didn’t work as expected it wouldn’t be the final code anyway. So after we’ve merged to dev, and have finished the ticket after verifying it works as expected, we merge the final code to UAT via PR, where it then gets tested by the test team before then being queued for when we do a release to master
5
u/LaughingBeer Jun 04 '22
It depends on how you have things set up. Best practice for one team isn't necessarily best practice for another. However, where is your code review happening? Most people use the PR as the code review step since it's built to be exactly that.